Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Run Marco on 5 out 10 sheets

i am new to all of this some help would be great.

i want to run macro 2 on sheets 3,4,5,6 after entering a number on sheet 1
can this be done?

thanks
in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Run Marco on 5 out 10 sheets

try one of these methods

for shtcount = 3 to 6
with sheets("Sheet" & shtcount)

end with

next shtcount



or

shtnames = array("Sheet3","Sheet4","Sheet5","Sheet6")
for each sht in shtnames
with sheets(sht)

end with
next shtnames

"sleemo" wrote:

i am new to all of this some help would be great.

i want to run macro 2 on sheets 3,4,5,6 after entering a number on sheet 1
can this be done?

thanks
in advance

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
Help with this marco JBoyer Excel Programming 4 August 2nd 08 04:23 AM
Can someone help me with this marco JBoyer Excel Programming 5 July 12th 08 01:11 AM
Help with marco Gary Keramidas Excel Programming 1 December 2nd 06 05:17 AM
Marco Loi New Users to Excel 4 December 7th 04 08:52 PM
marco David Kuehl Excel Programming 4 September 18th 03 11:37 PM


All times are GMT +1. The time now is 03:22 AM.

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

About Us

"It's about Microsoft Excel"