groundhog1
Electrical
- May 4, 2003
- 43
1.) Is there a way to create a variable that lasts forever and is usable over all modules?
My code is in several modules and I want several things to be constant, like the serial number of my unit under test and maybe the partnumber. Stuff like that.
Right now I am just reading it off of the excel spreadsheet. But if I move the contents of the cell, i will have to go through the code and adjust all of the places i call the cell out.
2.) I am saving each file using the the serial number in the filename. Problem is that the file size is like half a Meg each. Is there a way to just save the Excel workbooks and not the all of the VBA code and stuff? I think the code is causing the filesize to be big. There is a giant module that has to be used to communicate with the equipment.
Thankyou,
groundhog