Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default making a different sheet active

On the currently active sheet cell F2 has the name of the sheet I want to
make active. How do I activate this sheet?
thanks,
ck

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default making a different sheet active

you can try this

worksheets(range("F2").Value).activate

--


Gary


"Charlie" wrote in message
...
On the currently active sheet cell F2 has the name of the sheet I want to
make active. How do I activate this sheet?
thanks,
ck



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,202
Default making a different sheet active

This should do what you asked...

Worksheets(Range("F2").Value).Activate

Rick


"Charlie" wrote in message
...
On the currently active sheet cell F2 has the name of the sheet I want to
make active. How do I activate this sheet?
thanks,
ck


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default making a different sheet active

on error resume next
activeworkbook.worksheets(activesheet.range("F2"). value).select
if err.number < 0 then
beep
end if
on error goto 0

Charlie wrote:

On the currently active sheet cell F2 has the name of the sheet I want to
make active. How do I activate this sheet?
thanks,
ck


--

Dave Peterson
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
Adding a new Sheet but not making it the Active Sheet David Excel Programming 4 October 17th 07 02:11 PM
Copy from active sheet and paste into new sheet using info from cell in active Ingve Excel Programming 3 January 23rd 06 09:57 PM
Making an open workbook active Jay Oken Excel Programming 1 March 19th 05 11:44 PM
Summing a range without making it active Garry Douglas Excel Programming 1 December 29th 04 05:19 AM
Making an active cell the first one to appear on the spreadsheet Bob Reynolds[_2_] Excel Programming 1 February 6th 04 04:47 PM


All times are GMT +1. The time now is 12:16 AM.

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"