Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a global variable in a module, outside any procedure, declared as:
Private cnt as Long In the Immediate Window, I tried the command: print cnt to no avail. If I change Private to Public, the print command works. But I want it to be Private. FYI, the variable cnt is incremented by some procedures. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Global Variable | Excel Discussion (Misc queries) | |||
global variable not seen | Excel Programming | |||
Global Variable | Excel Programming | |||
Global Variable | Excel Programming | |||
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? | Excel Worksheet Functions |