I have one module with three separate sub-routines like so:
Module1
-->Macro1
-->Macro2
-->Macro3
I call Macro1 from a command button on one of my sheet tabs. It starts by running Macro2, then Macro3 before running through it's own code. There are two strings from the secondary macros I need in order for Macro1 to run properly but neither is "available" after they finish and Macro1 resumes running.
I have the following two lines at the top of the module:
Public macro2Str As String
Public macro3Str As String
What else do I need to change or add?
Module1
-->Macro1
-->Macro2
-->Macro3
I call Macro1 from a command button on one of my sheet tabs. It starts by running Macro2, then Macro3 before running through it's own code. There are two strings from the secondary macros I need in order for Macro1 to run properly but neither is "available" after they finish and Macro1 resumes running.
I have the following two lines at the top of the module:
Public macro2Str As String
Public macro3Str As String
What else do I need to change or add?