Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
AcesUp
 
Posts: n/a
Default Linking to a worksheet in a separate workbook


All,

I have several workbooks which I would like to make more user friendly
by creating some form of menu and navigation system.

Is there a way to add a link on a workbook that once clicked will open
up another workbook and take the user straight a s specific worksheet?

I've search the forums but not been able to locate the answer so
apologies if this is a repeat question.

Many Thanks,
AcesUp.


--
AcesUp
------------------------------------------------------------------------
AcesUp's Profile: http://www.excelforum.com/member.php...o&userid=26519
View this thread: http://www.excelforum.com/showthread...hreadid=548094

  #2   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett
 
Posts: n/a
Default Linking to a worksheet in a separate workbook

The macro is your friend. Recorded this
Sub Macro1()
' Macro1 Macro
' Macro recorded 6/3/2006 by Don Guillett
Workbooks.Open Filename:="C:\yourfolder\yourfilename.xls"
End Sub

modified to test
Sub gotoworkbooksheet()'yourfilename in cell a1
mwb = "C:\yourfolder\" & Range("a1") & ".xls"
Workbooks.Open Filename:=mwb
Sheets("sheet3").Select
End Sub

modified for double click event.
right click sheet tabview codeinsert this
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
If Target.Column < 1 Then Exit Sub
mwb = "C:\yourfolder\" & Target.Value & ".xls"
Workbooks.Open Filename:=mwb
Sheets("sheet3").Select
End Sub
--
Don Guillett
SalesAid Software

"AcesUp" wrote in
message ...

All,

I have several workbooks which I would like to make more user friendly
by creating some form of menu and navigation system.

Is there a way to add a link on a workbook that once clicked will open
up another workbook and take the user straight a s specific worksheet?

I've search the forums but not been able to locate the answer so
apologies if this is a repeat question.

Many Thanks,
AcesUp.


--
AcesUp
------------------------------------------------------------------------
AcesUp's Profile:
http://www.excelforum.com/member.php...o&userid=26519
View this thread: http://www.excelforum.com/showthread...hreadid=548094



  #3   Report Post  
Posted to microsoft.public.excel.misc
AcesUp
 
Posts: n/a
Default Linking to a worksheet in a separate workbook


Don,

Perfect thanks, seems so simple in heinsight

Many Thanks,
AcesUp


--
AcesUp
------------------------------------------------------------------------
AcesUp's Profile: http://www.excelforum.com/member.php...o&userid=26519
View this thread: http://www.excelforum.com/showthread...hreadid=548094

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
Macro add worksheet to workbook automatically Davin Excel Discussion (Misc queries) 0 February 17th 06 05:36 PM
Macro or OLE method to insert worksheet from template workbook Lyndon Rickards Excel Discussion (Misc queries) 0 January 30th 06 08:46 PM
Can not copy a worksheet to another workbook cyndi Excel Discussion (Misc queries) 2 November 10th 05 06:50 PM
Pivot Table in separate workbook ehale Excel Discussion (Misc queries) 1 August 17th 05 01:49 AM
Lookup worksheet name in separate workbook daj32 Excel Discussion (Misc queries) 4 February 2nd 05 10:54 PM


All times are GMT +1. The time now is 01:26 PM.

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"