
Originally Posted by
Lou_Reed
Okay, that seems like a good idea as I said before. However, I wanted to get started on it so I started VBA code to call a macro, then the macro calls a VBA function. It just is a way that I know. Now based on what you say I must have two macros it comes to calling FormHeading function. By that I mean that call it with no arguments and one that calls it with arguments. One macro that call FormHeading cannot do all the work, it must be at least two for the two instances that I just described.
Is this correct?
Also, when I call the function directly in the VBA code it is obviously Call Macro() or Call Macro(arguments1,arguments2, ...) depending on whether the call to the function has no arguments or one or more arguments.