[b][red]This message was edited by SpecialEd at 2007-2-7 20:51:13[/red][/b][hr]
I am filling array variables with spreadsheet data and then using various procedures to do calculations. Using different command buttons to do different computations. What is the most efficient way to declare variables so that they are available to all worksheets in the workbook? I have tried all the DIM statements in Public Sub Workbook_Open() but it's not working. My command button gives "Compile error. Sub or function not defined" and the first reference to an array variable in my click event sub is highlighted. I read about modules and tried that but how do I create the module so that it is run at the start?
Thanks for the help.
0 · ·