+ Reply to Thread
Results 1 to 4 of 4

Worksheet change or worksheet calculate

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Worksheet change or worksheet calculate

    Can anyone advise what the main differences are between Private Sub Worksheet_Change(ByVal Target As Range) and Private Sub Worksheet_Calculate() and when the best scenario is to us each one?

    Thanks in advance

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Worksheet change or worksheet calculate

    Hi,

    They are both two macro procedures that 'fire' on specific events taking place.

    The worksheet change procedure will fire whenever a cell on the worksheet changes. The worksheet calculate event when any cell calculates. You may feel they both do the same thing since changing a cell will mean a calculate will also take place if the cell you're changing has a formula. And indeed they'll both fire if that happens. But changing a cell that hasn't got a formula and no other cell is dependent on it will only fire he change event.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Re: Worksheet change or worksheet calculate

    Thanks for the good explanaion

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Worksheet change or worksheet calculate

    Glad to have helped and thanks for the rep

+ 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. Date Stamp for value change due to formula. - Worksheet Calculate ?
    By joelj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-10-2014, 01:03 AM
  2. Change this VBA code from Worksheet Change to Worksheet calculate?
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2013, 04:26 AM
  3. worksheet/workbook change/calculate help needed
    By TechRetard in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-05-2012, 11:42 AM
  4. worksheet change infinite loop/calculate for user functions
    By Mike in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2006, 12:30 AM
  5. Replies: 5
    Last Post: 06-23-2005, 06:05 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