Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Variable
How do you code for a variable.
I want some code that will return a messagebox showing the count in the box. Let's use 1 through 10 for this example. Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Variable
Hi
try sub foo() dim i for i = 1 to 10 msgbox "This is number: " & i next end sub -- Regards Frank Kabel Frankfurt, Germany NM wrote: How do you code for a variable. I want some code that will return a messagebox showing the count in the box. Let's use 1 through 10 for this example. Thanks |
Reply |
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) | |||
How to graph x-variable versus y-variable in Excel ? | New Users to Excel | |||
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 |