+ Reply to Thread
Results 1 to 5 of 5

How to reference a sheet that is coded to change names based on a cell

  1. #1
    Registered User
    Join Date
    07-23-2019
    Location
    New York
    MS-Off Ver
    Excel1 2016
    Posts
    11

    How to reference a sheet that is coded to change names based on a cell

    My sheets are coded to change names based on the contents of a cell. How do I reference these sheets in a formula? -Thanks

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    1,894

    Re: How to reference a sheet that is coded to change names based on a cell

    The formulas should change when the sheet name changes. Don't they?

  3. #3
    Registered User
    Join Date
    07-23-2019
    Location
    New York
    MS-Off Ver
    Excel1 2016
    Posts
    11
    Quote Originally Posted by Gregb11 View Post
    The formulas should change when the sheet name changes. Don't they?
    That's what I thought, but no they all returned with a reference error

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    1,894

    Re: How to reference a sheet that is coded to change names based on a cell

    Can you upload an example file that shows this behavior?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    62,049

    Re: How to reference a sheet that is coded to change names based on a cell

    Did you use the INDIRECT function? It won't work without.

    https://www.contextures.com/xlFunctions05.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

+ 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] Dynamically change multiple sheet names based upon a cell's value
    By Murman01 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-01-2018, 12:01 PM
  2. [SOLVED] Automatically change sheet (tab) names based on cell on sheet1
    By PitBoo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-29-2017, 03:46 PM
  3. Using Macro to change cell color based on reference cell value in different sheet
    By Emma Ford in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2015, 03:51 AM
  4. [SOLVED] Reference system generated sheet names and change them with VBA
    By ericbartha in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-15-2014, 06:48 PM
  5. Automatically Change Sheet Names Based On Cell Values - merged cells
    By Elizabethz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-24-2014, 11:35 AM
  6. change cell names based on new sheet name
    By tdebb8594 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2014, 02:25 PM
  7. Changing Sheet Names based on a Cell Reference
    By tjloggia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2012, 04:35 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