Hello,
I would like that when my spread sheet opens, I set a constant global variable so that when the rest of the VBA code runs, it can access it from anywhere
Here below is in the "ThisWorkbook" file whcih should execute right awaya as the excel file opens
![]()
Please Login or Register to view this content.
And here is some VBA code I execute via a button which should see the "NoOfParts" variable. But it doesn't????
![]()
Please Login or Register to view this content.
Bookmarks