+ Reply to Thread
Results 1 to 2 of 2

Change formula and apply

  1. #1
    Registered User
    Join Date
    11-04-2021
    Location
    usa
    MS-Off Ver
    2013
    Posts
    2

    Change formula and apply

    How to change just one value in each cell and apply the changes:

    ='C:\Users\joshl\OneDrive\Documents\[NOVEMBER 2019 VERSAILLES.xlsx]Sheet1'!$E$138
    ='C:\Users\joshl\OneDrive\Documents\[december 2019 VERSAILLES.xlsx]Sheet1'!$E$138
    ='C:\Users\joshl\OneDrive\Documents\[january 2020 VERSAILLES.xlsx]Sheet1'!$E$138

    How do i change the formula in each cell to change only the last part. For example if I want to change the last part "Sheet1'!$E$138" to "Sheet1'$E$145".

  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,093

    Re: Change formula and apply

    Guessing you could just select the cells you want to change and then do a Replace All, replacing "Sheet1'!$E$138" with "Sheet1'$E$145"
    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


+ 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. apply ByVal change only to visible cells
    By ferday in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2018, 02:39 AM
  2. [SOLVED] Apply VBA Script based on Text in one column and apply a formula in another column
    By vvincent in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-07-2016, 09:19 PM
  3. [SOLVED] Apply worksheet change macro every 3rd column
    By Spritz in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-31-2013, 11:34 AM
  4. Replies: 4
    Last Post: 06-28-2013, 12:27 PM
  5. Replies: 3
    Last Post: 01-05-2012, 01:44 AM
  6. apply filter when value change cell
    By maba in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2010, 04:52 AM
  7. Apply Border based on change in cell value?
    By efeb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-11-2009, 04:41 PM

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