+ Reply to Thread
Results 1 to 5 of 5

index pages help

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Inverness, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    index pages help

    i have a spreadsheet with a sheet for every customer. I've created an index tab and want to display cell h13 from every customer's sheet on the index page. I;'m sure I've done this before but can't for the life of me find howto do it today, could anyone assist?

  2. #2
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: index pages help

    wont simple =h13 suffice?
    Can you pls upload the sample file
    Please make the Post as solved, when you get your answer & Click * if you like my suggestion

  3. #3
    Registered User
    Join Date
    10-08-2012
    Location
    Inverness, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: index pages help

    I was looking for a quicker way of doing it

  4. #4
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: index pages help

    Found something closer yesterday.

    May be others can add in this and help you
    PHP Code: 
    Sub Create Index()
    '
    '
    The Excel Club com macro example
    'need to create a tab named index and put the codes in that
    '
    Dim wSheet As Worksheet

    Dim l 
    As Long

    3

    With Me

    .Columns(1).ClearContents

    .Cells(11) = "INDEX"

    .Cells(11).Name "Index"

    End With

    For Each wSheet In Worksheets

    If wSheet.Name <> Me.Name Then

    1

    With wSheet

    .Range("B4").Name "Start_" wSheet.Index
    .Hyperlinks.Add Anchor:=.Range("B4"), Address:=""_
    SubAddress
    :="Index"TextToDisplay:="Back to Index"

    End With

    Me
    .Hyperlinks.Add Anchor:=Me.Cells(l1), Address:=""_
    SubAddress
    :="Start_" wSheet.IndexTextToDisplay:=wSheet.Name

    End 
    If

    Next wSheet

    End Sub 

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: index pages help

    No need for VBA for this.

    Create a name range, and call it sheetnames
    Refers to: =REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),"")

    Now, where you want the sheet names to be, use this, copied down...
    =IFERROR(INDEX(Sheetnames,ROWS($A$2:A2)),"")

    To get your values...
    =INDIRECT("'"&A2&"'!H13")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Renumbering series of pages after removing pages
    By teaker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-09-2013, 06:02 PM
  2. Replies: 1
    Last Post: 12-05-2012, 05:30 AM
  3. [SOLVED] How do I delete pages from an Excell template of mutiple pages
    By pulcom123 in forum Excel General
    Replies: 2
    Last Post: 12-30-2005, 12:45 PM
  4. Replies: 2
    Last Post: 08-02-2005, 03:05 PM
  5. Multipage Control Pages - Changing Index Value in Code
    By misseill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2005, 12:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1