Hi,
Below is my macro, basically inside Do Loop are a set of macro that opens a file, copy a sheet to another excel file.
all i want is if i dont have a file to upload to my new excel, i just want to return to my main file without being prompted by the Run Time error pop up.
please help
Sub Main()
Do
Addsheet
Compile
Copy
InsertDate
Header
Loop
End Sub
Below is my macro, basically inside Do Loop are a set of macro that opens a file, copy a sheet to another excel file.
all i want is if i dont have a file to upload to my new excel, i just want to return to my main file without being prompted by the Run Time error pop up.
please help
Sub Main()
Do
Addsheet
Compile
Copy
InsertDate
Header
Loop
End Sub