Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Stattic Variable
<<sorry. Shld have posted my message here instead of the General section Hi! Friends. Can someone help: I wish to preserve the value of a variable (say n) each time I run the procedure, I have: Sub count() Static n as integer n=n+1 end sub May I know how I can start with an initial value of n other than 0. I use CALL sub, but doesnt work. Many thanks. .. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Runtime Error '91' Object variable or With block variable not set | Excel Discussion (Misc queries) | |||
can i link a variable cost code with a variable sum | Excel Discussion (Misc queries) | |||
variable height variable width stacked bar charts | Charts and Charting in Excel | |||
Sum cells based on a row variable and seperate column variable | Excel Worksheet Functions | |||
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 |