How do make a macro activate the next sheet?
- From: pauloreiss <pauloreiss.2141sy_1136378701.8605@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 4 Jan 2006 06:40:06 -0600
I have a macro that i want to run in many files that have the same
structure but diferent number of sheets. I can only change sheets by
writing:
Sheets("Sheet1").Activate
I would like to know if there is a command that would work, something
like:
ActiveSheet.Activatenext (I tried this and didn't work)
Can someone tell me how to do this?
--
pauloreiss
------------------------------------------------------------------------
pauloreiss's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=29820
View this thread: http://www.excelforum.com/showthread.php?threadid=497860
.
- Follow-Ups:
- Re: How do make a macro activate the next sheet?
- From: Norman Jones
- Re: How do make a macro activate the next sheet?
- From: Bob Phillips
- Re: How do make a macro activate the next sheet?
- Prev by Date: Naming macros?
- Next by Date: How can I modify this macro, pls?
- Previous by thread: A Mirror Copy of a Sheet with Different Outlook
- Next by thread: Re: How do make a macro activate the next sheet?
- Index(es):
Relevant Pages
|