Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a large multiple tab workbook where each tab may contain 1 or more
pages when printed out. Each tab is essentially a new heading I want to create a table of contents which automatically detects how many pages are in each tab and can therefore adjust the table of contents accordingly. Don't mind using a macro as I see this as the only way to go. I was thinking along the lines of; Sub Create_Table_of_Contents FOR Contents_Line = 1 to Last_Tab_in_Workbook Contents_Line_1 = Tab_1_Name Contents_Line_1_Page_Num = 1 Contents_Line_2 = Tab_2_Name Contents_Line_2 = Count_of_Pages_in_Tab_1 + 1 etc. etc. Next Most of this I can handle, but how can you tell how many pages are in a tab in print preview format? Rich |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Link page header with cell contents | Excel Worksheet Functions | |||
start page numbering after table of contents | Excel Discussion (Misc queries) | |||
Problem with Page Numbering | Excel Discussion (Misc queries) | |||
Page Numbers | Excel Discussion (Misc queries) | |||
adding a new page break to an existing page break | Excel Discussion (Misc queries) |