Quote:
|
Originally Posted by akamp
No errors are generated it simply does not finish completing the tasks. It stops when the "Medco Groups.xls" file is opened (Line 12).
It's VERY strange that it works fine from the VBA editor and not through a shortcut or the Macro dialog.
|
How are you activating Sub Filming()?
I'd change: 'Windows("Medco Filming.xls").Activate' and 'Windows("Medco Groups.xls").Activate'
To: 'Workbooks("Medco Filming.xls").Activate' and 'Workbooks("Medco Groups.xls").Activate'
You are trying to act on a selection but have not made a selection.
Selection.AutoFilter Field:=1, Criteria1:="<>"
This Line Should be preceeded by a Selection call,
Range("A1").Select