+ Reply to Thread
Results 1 to 15 of 15

Dynamically Updating Funtion/Formula

Hybrid View

  1. #1
    Registered User
    Join Date
    07-30-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    43

    Re: Dynamically Updating Funtion/Formula

    hi Mrcd

    try this code
    Sub dural()
    Dim r As Range, ady As String
    For Each r In Sheets("Sheet1").Cells.SpecialCells(xlCellTypeFormulas)
    ady = r.Address
    r.Copy Sheets("Sheet2").Range(ady)

    r.Copy Sheets("Sheet3").Range(ady)

    r.Copy Sheets("Sheet4").Range(ady)

    r.Copy Sheets("Sheet5").Range(ady)
    Next1
    End Sub

    run this code whenever u change farmula in sheet 1 same wil be reflected to all sheet.
    if u dont want to update specific sheet for e.g. sheet 5 in above code then delete r.Copy Sheets("Sheet5").Range(ady) this line

  2. #2
    Registered User
    Join Date
    07-14-2014
    Location
    Ontario, Canada
    MS-Off Ver
    MS Office 2010
    Posts
    15

    Re: Dynamically Updating Funtion/Formula

    Quote Originally Posted by globalsourcing View Post
    hi Mrcd

    try this code
    Sub dural()
    Dim r As Range, ady As String
    For Each r In Sheets("Sheet1").Cells.SpecialCells(xlCellTypeFormulas)
    ady = r.Address
    r.Copy Sheets("Sheet2").Range(ady)

    r.Copy Sheets("Sheet3").Range(ady)

    r.Copy Sheets("Sheet4").Range(ady)

    r.Copy Sheets("Sheet5").Range(ady)
    Next1
    End Sub

    run this code whenever u change farmula in sheet 1 same wil be reflected to all sheet.
    if u dont want to update specific sheet for e.g. sheet 5 in above code then delete r.Copy Sheets("Sheet5").Range(ady) this line
    This has been working great for us for the past week...thanks so much for posting this code, it saved me so much time and stress I really appreciate it.

+ 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. Dynamically updating reference to other workbook
    By Saeber4777 in forum Excel General
    Replies: 9
    Last Post: 06-21-2014, 09:44 PM
  2. Updating legends dynamically
    By protocol in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2012, 02:52 AM
  3. Updating Pivot Tables Dynamically
    By JagR in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2010, 04:56 AM
  4. Dynamically filtering/updating worksheets
    By hoopz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-21-2006, 03:04 PM
  5. Min & Max of a dynamically updating cell value
    By Dave in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2006, 12:10 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