+ Reply to Thread
Results 1 to 4 of 4

keep formula working when changing fprmula in source cell

  1. #1
    Registered User
    Join Date
    08-07-2014
    Location
    Netherlands
    MS-Off Ver
    Office professional 2010
    Posts
    10

    keep formula working when changing fprmula in source cell

    I have a formula in cell a1 referencing to cell D3, which contains a formula too.

    Now I have a vba running that copies a cell containing a formula to D3. The result is that cell A1 gives an error.

    Is there a way to make the formula in cell a1 still working ?

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

    Re: keep formula working when changing fprmula in source cell

    Try using PasteSpecial with formula (and formatting) rather than copying and (just) pasting the cell.
    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


  3. #3
    Forum Contributor
    Join Date
    10-19-2012
    Location
    chennai
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: keep formula working when changing fprmula in source cell

    Hi,

    Try using address() function to refer the cell d1 in a1 if it dosnt work kindly attach a sample sheet.
    RoyalRajan

  4. #4
    Forum Contributor
    Join Date
    10-19-2012
    Location
    chennai
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: keep formula working when changing fprmula in source cell

    hi,


    Try this in cell a1 [=INDIRECT(ADDRESS(3,4))]

+ 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. VBA to save username when changing source cell value
    By swalesh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-11-2016, 03:09 PM
  2. [SOLVED] Changing cell source
    By Marvo in forum Excel General
    Replies: 8
    Last Post: 04-11-2016, 06:06 AM
  3. Changing Source Links not working
    By r.murray in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-26-2015, 12:06 PM
  4. Change Chart Source Data series by changing cell
    By Hendra S in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-10-2014, 02:09 PM
  5. [SOLVED] Changing Pivot Table Source Week using a reference cell
    By interested in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-07-2013, 06:12 AM
  6. [SOLVED] Double Click Cell to go to Source not working
    By john60 in forum Excel General
    Replies: 5
    Last Post: 11-29-2012, 07:00 AM
  7. Changing Source column for formula depending on month
    By john_london in forum Excel General
    Replies: 2
    Last Post: 10-01-2010, 10:36 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