E
Elaine J.
I have a VBA macro that I am using and I want to call another macro. I have
been tried the two versions of calling a macro below.
Application.Run MacroName:="[PrintHRFormsRep]"
Application.Run "'Shreveport.doc'!NOH.PrintHRFormsRep"
But I keep getting an error message that says:
Unable to run the specified macro.
The document that I am working in has a range set called noticeplus. Then I
want to call a macro that will open another document, print it, close it and
revert back to the previous active document. Both macros work independently,
but I want to be able to use them together.
It occurred to me on the way home tonight that maybe it had something to do
with the range being set. Is there another way to call a macro when a range
is set?
Both macros are in the same template and module.
Thanks for any help.
been tried the two versions of calling a macro below.
Application.Run MacroName:="[PrintHRFormsRep]"
Application.Run "'Shreveport.doc'!NOH.PrintHRFormsRep"
But I keep getting an error message that says:
Unable to run the specified macro.
The document that I am working in has a range set called noticeplus. Then I
want to call a macro that will open another document, print it, close it and
revert back to the previous active document. Both macros work independently,
but I want to be able to use them together.
It occurred to me on the way home tonight that maybe it had something to do
with the range being set. Is there another way to call a macro when a range
is set?
Both macros are in the same template and module.
Thanks for any help.