I've a project that occasionaly needs to run a procedure stored in a Project that is loaded during startup of word. Basically i use the code:
Sub FirstProcedure()
Application.Run MacroName:="SecondProcedure"
End Sub
This will run the code in the SecondProcedure however when all of the code within SecondProcedure has run, the code returns to the line that ran SecondProcedure. It will then try to Run SecondProcedure again but gives an error message "Object Required". Does anyone know why it tries to run this specific line twice?
Thanks
Mike
Sub FirstProcedure()
Application.Run MacroName:="SecondProcedure"
End Sub
This will run the code in the SecondProcedure however when all of the code within SecondProcedure has run, the code returns to the line that ran SecondProcedure. It will then try to Run SecondProcedure again but gives an error message "Object Required". Does anyone know why it tries to run this specific line twice?
Thanks
Mike