+ Reply to Thread
Results 1 to 7 of 7

Search and replace

  1. #1
    Registered User
    Join Date
    11-23-2008
    Location
    Australia
    Posts
    15

    Search and replace

    Hi

    I would like to create a macro to search all blank cells within a certain range in multiple worksheets to replace it with a certain blank cell. Essentially i would like to use a special values function to do this.

    This will help "reset" the cell based on a problem that I'm having with its format.

    Any assistance would be great.

    Thanks,
    Steve
    Last edited by steve_c; 12-02-2008 at 02:06 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Replace blank cells with a certain blank cell's value?

    I'm thinking that's a non-event.

    Care to explain further?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    11-23-2008
    Location
    Australia
    Posts
    15
    Hmm. Is it possible to do this cells which have value in them?

    Bascially i would like to run a macro which searches cells in this range where there is 1 to replace it with the value that is in cell B2.

    Ie.
    A1 B1 C1
    1 2 1

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    Please Login or Register  to view this content.
    VBA Noob
    Last edited by VBA Noob; 11-27-2008 at 05:14 PM.
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    11-23-2008
    Location
    Australia
    Posts
    15
    Thanks very much

  6. #6
    Registered User
    Join Date
    11-23-2008
    Location
    Australia
    Posts
    15
    Hi

    In your code below, is it possible to select the same range from multiple sheets. Ie the range of ("A1:C1") from sheet1, sheet2 etc...

    Quote Originally Posted by VBA Noob View Post
    Maybe

    Please Login or Register  to view this content.
    VBA Noob

  7. #7
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    Please Login or Register  to view this content.
    VBA Noob

+ 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