PC Review


Reply
Thread Tools Rate Thread

How to change to active sheet on macro?

 
 
Eric
Guest
Posts: n/a
 
      1st Jun 2010
Does anyone have any suggestions on how to modify following coding? which
work on active sheet rather than specific sheet ("ABC").
Application.Goto Sheets("ABC").Range("I45"), scroll:=True
Thanks in advance for any suggestions
Eric
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      1st Jun 2010
Application.Goto activesheet.Range("I45"), scroll:=True

Eric wrote:
>
> Does anyone have any suggestions on how to modify following coding? which
> work on active sheet rather than specific sheet ("ABC").
> Application.Goto Sheets("ABC").Range("I45"), scroll:=True
> Thanks in advance for any suggestions
> Eric


--

Dave Peterson
 
Reply With Quote
 
Gary Brown
Guest
Posts: n/a
 
      1st Jun 2010
If you're already in the active sheet...
Range("I45").select
--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"Eric" wrote:

> Does anyone have any suggestions on how to modify following coding? which
> work on active sheet rather than specific sheet ("ABC").
> Application.Goto Sheets("ABC").Range("I45"), scroll:=True
> Thanks in advance for any suggestions
> Eric

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for active sheet only Victor Delta Microsoft Excel Misc 4 21st Oct 2009 08:37 PM
Get macro to run on all sheets not just the active sheet trey1982 Microsoft Excel Programming 2 7th Apr 2009 01:44 PM
macro active sheet liem Microsoft Excel Misc 1 18th Jan 2008 05:48 AM
ow can I get the active sheet name to a var in a macro?? =?Utf-8?B?aXRhbG8=?= Microsoft Excel Programming 1 16th May 2006 10:36 PM
How to change macro so it performs actions on ACTIVE sheet? =?Utf-8?B?VG9tOTI4Mw==?= Microsoft Excel Misc 6 15th Apr 2005 07:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:05 AM.