+ Reply to Thread
Results 1 to 4 of 4

Removing part of a formula which is identical in same formula in 100s of cells

  1. #1
    Registered User
    Join Date
    01-18-2010
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Post Removing part of a formula which is identical in same formula in 100s of cells

    I have 100s of formulas located in 100s of cells in the same active worksheet which contained a link to a workbook that is no longer relevant. By way of example, the referenced link is:

    C:\Users\GARRY\Documents\BUSINESS\TEMPLATES\Microsoft Office\Excel\Savings & Retirement\[PERSONAL INCOME EXPENSE CASH FLOW01_2012.xlsx]

    in an sample formula as follows:

    ='C:\Users\GARRY\Documents\BUSINESS\TEMPLATES\Microsoft Office\Excel\Savings & Retirement\[PERSONAL INCOME EXPENSE CASH FLOW01_2012.xlsx]INPUT Detail-Expense'!$L$765

    Is it possible to create a macro that contains the appropriate code to automatically amend that portion of all the formulas contained in all the cells to remove this link.

    Thanks in advance for your help

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Removing part of a formula which is identical in same formula in 100s of cells

    Have you checked if you can edit the links?
    What do you want to change the formula to?
    Have you tried Find & Replace/
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    01-18-2010
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Thumbs up Re: Removing part of a formula which is identical in same formula in 100s of cells

    RoyUK

    Thanks very much. IT WORKS!!

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Removing part of a formula which is identical in same formula in 100s of cells

    Which one worked?

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.


    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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