Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calling a subroutine in a loop
This should work but it does not. What am I missing?
'VBA 2003 dim ii as integer For ii = 1 To 3 'This should run!!!!!! Message MsgBox "Time to take a break!" Next ii Public Sub Message() MsgBox "Time to take a break!" End Sub |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calling a subroutine in a loop
Works as I would expect. In what way does it NOT work?
-- HTH Bob Phillips (remove nothere from email address if mailing direct) "Jeff@DE" wrote in message oups.com... This should work but it does not. What am I missing? 'VBA 2003 dim ii as integer For ii = 1 To 3 'This should run!!!!!! Message MsgBox "Time to take a break!" Next ii Public Sub Message() MsgBox "Time to take a break!" End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Calling a Public Subroutine in a Different Workbook | Excel Programming | |||
Calling a function from a subroutine loop | Excel Programming | |||
calling a subroutine outside a spreadsheet | Excel Programming | |||
Function Calling Subroutine | Excel Programming | |||
Calling the Solver via a subroutine | Excel Programming |