+ Reply to Thread
Results 1 to 3 of 3

Search & Replace....should be simple

  1. #1
    Forum Contributor
    Join Date
    11-17-2004
    MS-Off Ver
    Office 2016
    Posts
    527

    Search & Replace....should be simple

    I'm trying to perform a search and replace on a worksheet that uses hundreds of columns and I'm trying to replace a cell reference for D9. Trouble is that with so many columns, I end up replacing the "D9" in cells AD9, BD9, CD9 etc. which ends up corrupting the entire worksheet.

    Am I missing something obvious?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Search & Replace....should be simple

    Include the character preceding the cell, like ",D9" or ":D9" or "(D9".
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Search & Replace....should be simple

    uses hundreds of columns
    Untested. Make a backup copy.

    Don't know if this will help, but if you change the cell referencing to R1C1 (File, Options, Formulas, Working with Formulas) see if you have more workable options for Find and Replace.
    Dave

+ 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] Replace in specific range - simple solution needed
    By lukestkd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 07:27 AM
  2. Simple translating VBA program find and replace
    By psboyboy13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-07-2012, 11:11 PM
  3. Simple Macro Req. to replace Fill Down
    By thequiff in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2012, 07:17 AM
  4. replace a variable in all code... (should be simple)
    By yiannis1925 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2012, 01:11 PM
  5. help refining simple script that does find and replace
    By telstrareg in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-05-2011, 11:47 PM
  6. Simple find and replace macro
    By aab203 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-25-2009, 12:53 PM
  7. Replies: 4
    Last Post: 08-03-2006, 02:00 PM
  8. Simple Search and Replace Question
    By Rebecca in forum Excel General
    Replies: 2
    Last Post: 04-03-2005, 11:07 AM

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