+ Reply to Thread
Results 1 to 8 of 8

Place a cell value into the worksheet tab.

  1. #1
    Registered User
    Join Date
    05-20-2013
    Location
    Kegworth, England
    MS-Off Ver
    Excel 2019
    Posts
    58

    Place a cell value into the worksheet tab.

    Hi there,
    My workbook consists of 12 sheets, one for each month of the year.
    I currently have the formula =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255) in order to place the value of the worksheet tab into a specified cell.
    Is there a way to reverse this, and place the cell value into the tab name?
    The values for the tabs and specified cells will only be dates, month and year, one for each month of the year.

    Thanks for any help.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Place a cell value into the worksheet tab.

    It would require VBA (programming). Is that acceptable? Is the cell going to have a true date in it or will it be text?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Place a cell value into the worksheet tab.

    .
    .
    .
    .
    .
    Read here: Dynamic worksheet tab name
    Last edited by sandy666; 04-19-2016 at 10:01 AM.

  4. #4
    Registered User
    Join Date
    05-20-2013
    Location
    Kegworth, England
    MS-Off Ver
    Excel 2019
    Posts
    58

    Re: Place a cell value into the worksheet tab.

    VBA would not be a problem, if I knew how to do it!
    The cell in question would only contain a date, currently its in the format mmmm yyyy.

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Place a cell value into the worksheet tab.

    Copy this modified version of what was on the link Sandy gave you. Then Right click on the sheet tab where you want this to happen and "View Code" Paste this into the text box and close the VBA Editor. Modify the code if the cell where the date will be is not A1.
    Please Login or Register  to view this content.
    Questions?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-20-2013
    Location
    Kegworth, England
    MS-Off Ver
    Excel 2019
    Posts
    58

    Re: Place a cell value into the worksheet tab.

    Thanks a lot for that.
    As I mentioned to Sandy, I'm going to try and work some sort of loop within the code to go through each of the sheets - January to December.
    If I get completely lost I may be back to ask for help again.

    Thanks for all the assistance - so far!

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Place a cell value into the worksheet tab.

    But now you got help for "Place a cell value into the worksheet tab". The rest will be another problem. Right?

  8. #8
    Registered User
    Join Date
    05-20-2013
    Location
    Kegworth, England
    MS-Off Ver
    Excel 2019
    Posts
    58

    Re: Place a cell value into the worksheet tab.

    Absolutely Sandy! Working on it at the moment.

+ 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. Replies: 4
    Last Post: 05-06-2014, 11:41 AM
  2. [SOLVED] Worksheet activate place text in cell.
    By Lensmeister in forum Excel General
    Replies: 5
    Last Post: 10-06-2012, 11:52 AM
  3. If I click the Vendor 1 column of cell "J13" that value goes to place in worksheet of "Ve
    By suresh mongam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2012, 02:41 PM
  4. Worksheet place in workbook
    By J.W. Aldridge in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-19-2006, 09:35 AM
  5. [SOLVED] place content of variable in destined cell in previous worksheet
    By sverre in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2006, 01:14 PM
  6. place a named cell in the top left corner of the worksheet
    By Paul Condron in forum Excel General
    Replies: 2
    Last Post: 04-15-2006, 08:30 AM
  7. [SOLVED] How do I place an excel worksheet name in a cell?
    By Roger Roger in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-20-2005, 12:06 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