LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 71
Default Goto Sheet Name

dim anyS as string
anyS = activesheet.name
workbooks("mno.xls").activate
sheets(anyS).select

workbooks("xyz.xls").activate
sheets(anyS).select

Robert Flanagan
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Kash" wrote in message
...
I have 3 workbooks (abc.xls, mno.xls, xyz.xls) with same sheet name. How to
write a macro to go to the same sheet name which is active on abc.xls in
the
remaining 2 workbooks?



 
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
Goto last row of the sheet Elton Law[_2_] Excel Worksheet Functions 3 April 10th 09 02:55 PM
Goto in a sheet alvin Kuiper Excel Programming 5 August 13th 07 01:58 PM
Goto first or last sheet Jac Tremblay[_4_] Excel Programming 0 June 21st 06 03:44 AM
Goto Sheet based on Cell Value Eric[_23_] Excel Programming 3 August 4th 04 10:48 PM
GOTO another sheet CLR[_2_] Excel Programming 4 April 23rd 04 09:26 PM


All times are GMT +1. The time now is 05:28 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"