+ Reply to Thread
Results 1 to 2 of 2

replace each content linked together to a named range

  1. #1
    Registered User
    Join Date
    04-30-2009
    Location
    Spain
    MS-Off Ver
    Excel 2010
    Posts
    88

    replace each content linked together to a named range

    Hi I'm using the following code that replaces within a formula any text following "cleaner*[...]" (i.e. cleaner*Sheet1!B2) so would like to consider the whole string as the string to be replaced. Normally the formalua also has other contents.

    Please Login or Register  to view this content.

    Is that possible?

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: replace each content linked together to a named range

    from your replacement code it looks you are replacing cell containing "clearner" as part string the whole is replaced as blank.
    if this is so the following will help

    I also assume that cell with cleaner occurs only once then the macro wil work
    if it occurs more than once and al of them are to be replaced then you have to use
    do...loop and findnext.



    Please Login or Register  to view this content.

+ 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