Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default throw string

Nice touch Bob. I never even though of using Application.Run. Note to the OP
however is that Application.Run has a bit of overhead associated with its
use. In this case it is probably not a big deal but just be aware that there
is a performace hit for using it. If the loop was a few thousand instead of
just a few it could become noticable...
--
HTH...

Jim Thomlinson


"Bob Phillips" wrote:

sub sProblem()
for i =1 to 3
Application.run "sbTst" & i
next
end sub


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"x taol" wrote in message
...


sub sbTst()
msgbox 1
end sub

sub sbTst2()
msgbox 12
end sub

sub sbTst3()
msgbox 13
end sub

sub sProblem()
for i =1 to 3
call "sbTst" & i
next
end sub

This code not work.
How can I using Loop.?

*** Sent via Developersdex http://www.developersdex.com ***




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum (throw out highest and lowest) Timothy Garrison Excel Worksheet Functions 3 December 2nd 09 02:09 AM
Store hidden information in Excel throw Add-In ARHangel Excel Discussion (Misc queries) 1 January 18th 08 12:21 PM
How do I set up a formula to throw out the 2 lowest scores? Rineay Excel Worksheet Functions 1 June 15th 06 05:08 PM
Color Cell throw macro nshanmugaraj Excel Programming 5 February 16th 06 02:49 AM
How can I navigate throw multiple Web pages... Luc Dansereau[_3_] Excel Programming 0 May 14th 05 10:24 PM


All times are GMT +1. The time now is 11:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"