Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2010 VBA to create an index page based on table of contents

Status
Not open for further replies.

ReportSmithing

Programmer
Apr 15, 2005
41
US
I would like to take values from a single sheet and create an index based off of a table of contents. I have imported a table of contents that lists multiple departments and their page numbers in column A and B...

Department Page
Finance 1
Finance 2
Finance 3
Finance 25
Finance 60

...and I would like to return only one department with multiple pages just as an index would work...

Department Page
Finance 1-3,25,60



 


hi,

Sounds like an interesting challenge,

What are you stuck on?

Please post the code you need help with.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top