Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default MakeTable of Contents with VBA

I want to make a table of contents that will refrence the spreadsheet tabs
insert them into the TOC worksheet and hyperlink them automatically to their
corresponing sheet. This needs to work for any amount of spreadsheets. thanks
a bunch guys for your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default MakeTable of Contents with VBA

Hi
use the HYPERLINK() function.
eg: say in book 'my book.xls' one titlle is cell B2 of sheet3
in the main sheet, enter:
=HYPERLINK("[my book.xls]sheet3!a1", sheet3!B2)

regards,
sebastien

"JakeR" wrote:

I want to make a table of contents that will refrence the spreadsheet tabs
insert them into the TOC worksheet and hyperlink them automatically to their
corresponing sheet. This needs to work for any amount of spreadsheets. thanks
a bunch guys for your help.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default MakeTable of Contents with VBA

Jake

Try David McRitchie's TOC coding.

http://www.mvps.org/dmcritchie/excel/buildtoc.htm

Gord Dibben Excel MVP

On Thu, 30 Sep 2004 14:55:03 -0700, "JakeR"
wrote:

I want to make a table of contents that will refrence the spreadsheet tabs
insert them into the TOC worksheet and hyperlink them automatically to their
corresponing sheet. This needs to work for any amount of spreadsheets. thanks
a bunch guys for your help.


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
concatenate contents of cells whose contents resemble cell referem cathyh Excel Worksheet Functions 3 May 23rd 09 12:16 PM
compare the contents of one range of cells with the contents of a. Dozy123 Excel Discussion (Misc queries) 1 January 24th 07 10:14 AM
Macro to remove contents of cell and move all other contents up one row adw223 Excel Discussion (Misc queries) 1 July 1st 05 03:57 PM
Cell contents vs. Formula contents Sarah Excel Discussion (Misc queries) 3 December 15th 04 06:02 PM
Copying cell contents to add to existing contents in another cell Dean Sawas Excel Programming 3 April 2nd 04 09:00 PM


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