Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
is there a way for me to make the following procedure work?
As I go through the loop each time, i'd like the messagebox to pop up with the value denoted by the variable. So the first time i go through, the message TWO should pop up in the messagebox. Thanks in advance. SUB TEST DIM M1,M2,M3 AS STRING dim x as integer M1="TWO" M2="THREE" M3="FOUR" FOR X = 1 TO 3 MSGBOX "M"& X NEXT X END SUB |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
variable height variable width stacked bar charts | Charts and Charting in Excel | |||
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 | |||
setting a range variable equal to the value of a string variable | Excel Programming | |||
Cells.Find error Object variable or With block variable not set | Excel Programming | |||
Pivot Table - Object variable or with block variable not set? | Excel Programming |