View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default 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