I have a macro that is quite long with several "Goto" and "Return" situations with 30+ lines of code. I want to streamline the main macro by making several "Call" routines but I want the called Subs to process the data based on what some of the variable values are in the main macro.
e.g - Cells (r1,c1) or valTest = ? in main macro when "Call ????" is made. "r1" and "c1" will tell the called Sub ???? where to start processing data because it will evaluate "r1" and "c1" from the main macro.
Is there a way to have the called Subs acknowledge the variable values of the main macro?
Danny
Bookmarks