Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've written a program that starts a sub procedure each
minute (which is started with the application.ontime event) that takes a value from a cell and puts it into the next cell down a column. The problem is that it works well as long as I use active cells, which I can't use. THE QUESTION IS: can I pass the value of a global variable from one procedure to the next or does the variable return to zero or garbage when it goes out of scope from one procedure to another? I really need to pass an index value from one procedure to the next. Any ideas at all? Declaring static seems to not work as in VB. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to pass variables as arguments of a function | Excel Worksheet Functions | |||
VBA variables retaining their values | Excel Discussion (Misc queries) | |||
how to look up values with two independent variables | Excel Worksheet Functions | |||
How to pass values of a cell? | Excel Discussion (Misc queries) | |||
Pass Variables into Form's code | Excel Programming |