Combine two TOC macros?

Philip041

Board Regular
Joined
Jul 17, 2011
Messages
63
Hi,

I want to combine two aspects of some table of contents macros. I have used the one available on the Office site:

Excel Blog - Add a table of contents to your workbook

Which works very well. However, I wanted to add a feature that someone wrote on MrExcel that prints the cell A1 on each sheet in the TOC.

Table of Contents | Excel Workbook | Macro to create a table of contents for a workbook

I want to have a column with the sheet names hyperlinked to each sheet, which the Office macro already does. I then want to have the cell A1 of each sheet put as a description in the B column on the TOC.

Eg.

Sheet Description
Jan(hyperlinked) Sales in January
Feb(hyperlinked) Sales in February
Mar(hyperlinked) Sales in March


Does that make sense?

Cheers!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,226,693
Messages
6,192,464
Members
453,725
Latest member
cvsdatreas

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top