+ Reply to Thread
Results 1 to 8 of 8

Macro to find and rename cell reference?

  1. #1
    Registered User
    Join Date
    06-09-2015
    Location
    Canada
    MS-Off Ver
    Office 2003
    Posts
    11

    Macro to find and rename cell reference?

    Hey Guys, new to the Forum here, have looked and I can't find,

    I've got a list of about 100 Checkboxes on sheet1 Cell referenced to "sheet2"
    I have to make multiple copies of sheet1 and 2. named say (sheet3 and sheet4)
    Now my "sheet3" checkboxes still reference sheet2 instead of sheet4

    is there a macro I can use to "Find and replace" sheet2 with sheet4 in Cell reference or am I wasting my efforts??


    Thank you,

    McPhailmonator

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Macro to find and rename cell reference?

    Checkboxes of Form Control type? or ActiveX?
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Registered User
    Join Date
    06-09-2015
    Location
    Canada
    MS-Off Ver
    Office 2003
    Posts
    11

    Re: Macro to find and rename cell reference?

    They are ActiveX

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Macro to find and rename cell reference?

    If ActiveX, this code would replace Sheet2 references on checkboxes in Sheet3 with Sheet4 references. It only does it for checkboxes whose original linked cell was on Sheet2, you could remove the if part of the line if you just want to change all of them regardless.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-09-2015
    Location
    Canada
    MS-Off Ver
    Office 2003
    Posts
    11

    Re: Macro to find and rename cell reference?

    I'm so sorry!
    They are form checkboxes, I'm doing too many things at once

  6. #6
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Macro to find and rename cell reference?

    Ok then...
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-09-2015
    Location
    Canada
    MS-Off Ver
    Office 2003
    Posts
    11

    Re: Macro to find and rename cell reference?

    That worked Perfectly!

    Thank you so much, i was having trouble with it, but then (stupid me) had to make sure I matched the case format (capital letters)

    Fantastic!

  8. #8
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Macro to find and rename cell reference?

    Great, glad it worked out. Thanks for the rep and promptly marking as solved

+ 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. rename excel autoshapes from cell reference
    By calsam1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2014, 03:32 PM
  2. [SOLVED] Find row/cell reference with Macro
    By kanonathena in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-24-2013, 01:45 AM
  3. Rename worksheet to a cell reference
    By talahuyen in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-24-2012, 10:12 AM
  4. Search for folder rename & move from cell reference
    By formatt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2012, 01:49 AM
  5. [SOLVED] Rename a worksheet with via a cell reference
    By chyanbiggs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2012, 09: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