+ Reply to Thread
Results 1 to 5 of 5

Tab Name in Cells

  1. #1
    LAS
    Guest

    Tab Name in Cells

    I have 68 sheets within a workbook in which I named 1, 2, 3 etc.. All the
    sheets are formatted the same ready for data to be entered, and I would like
    to be able to assign the tab name to one of my cells for each worksheet as
    you can do in the Header Footer.

    Rather than the typist having to type in Panel # on every sheet, I would
    like for it to reference the sheet nuimbery help would be greatly appreciated.

    Thanks

  2. #2

    Re: Tab Name in Cells

    LAS wrote...
    >I have 68 sheets within a workbook in which I named 1, 2, 3 etc.. All

    the
    >sheets are formatted the same ready for data to be entered, and I

    would like
    >to be able to assign the tab name to one of my cells for each

    worksheet as
    >you can do in the Header Footer.

    ....

    See http://www.contextures.com/xlfaqFun.html#SheetName


  3. #3

    Re: Tab Name in Cells

    LAS wrote...
    >I have 68 sheets within a workbook in which I named 1, 2, 3 etc.. All

    the
    >sheets are formatted the same ready for data to be entered, and I

    would like
    >to be able to assign the tab name to one of my cells for each

    worksheet as
    >you can do in the Header Footer.

    ....

    See http://www.contextures.com/xlfaqFun.html#SheetName .


  4. #4

    Re: Tab Name in Cells

    LAS wrote...
    >I have 68 sheets within a workbook in which I named 1, 2, 3 etc.. All

    the
    >sheets are formatted the same ready for data to be entered, and I

    would like
    >to be able to assign the tab name to one of my cells for each

    worksheet as
    >you can do in the Header Footer.

    ....

    See http://www.contextures.com/xlfaqFun.html#SheetName .


  5. #5
    Forum Contributor kraljb's Avatar
    Join Date
    05-26-2004
    Location
    Illinois
    MS-Off Ver
    2007 (recent change)
    Posts
    256
    Sub TabName()
    Dim i As Integer
    Dim iMax As Integer

    i = 1
    iMax = Worksheets.Count

    While i <= iMax
    Worksheets(i).Range("A1").Value = Worksheets(i).Name
    i = i + 1
    Wend

    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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