+ Reply to Thread
Results 1 to 5 of 5

Macro to replace word in formula

  1. #1
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Macro to replace word in formula

    I need to replace part of a formula. I need to delete the workbook reference: "[Combined Flow2.xlsm]". I need to do this for range A1:Z100 and this is what I recored when deleting them one at a time:

    Please Login or Register  to view this content.
    How can I do this to delete it from all worksheets for the range A1:Z100 besides one at a time. Thanks

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Macro to replace word in formula

    Untested, but you could give it a try.

    Please Login or Register  to view this content.
    Last edited by oeldere; 06-24-2014 at 05:01 PM. Reason: double ""
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Re: Macro to replace word in formula

    The
    Please Login or Register  to view this content.
    shows up in red when I paste it

  4. #4
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Re: Macro to replace word in formula

    Ok, I took out the secound " and it works. The problem is that when it replaces on the box pops up to update values: sheet1 and I have to click cancel, or exit out of it, or hit esc to go to the next one

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Macro to replace word in formula

    Try this one instead.

    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)

Similar Threads

  1. [SOLVED] Excel macro- Find replace an itallic font word with a regular word?
    By thisisaboutwork in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2013, 01:48 PM
  2. Need help with Excel-to-Word find and replace macro based on word filename
    By EnterTheSerpent in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2013, 12:48 PM
  3. Find/Replace Macro to Word
    By macronoob123 in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 10-01-2011, 04:28 PM
  4. Word text replace from Excel macro
    By GoDuncan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-18-2011, 01:08 PM
  5. Macro to open word doc, then open another file in word and then excute a find replace
    By Uber-Smee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2010, 09:43 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