+ Reply to Thread
Results 1 to 2 of 2

Macro to refresh another worksheet when tab is activated

  1. #1
    Registered User
    Join Date
    07-14-2014
    Location
    nyc
    MS-Off Ver
    2003
    Posts
    74

    Macro to refresh another worksheet when tab is activated

    Hello

    I'm trying to make a macro that will calculate another worksheet (Master List) in the workbook when the tab is activated.
    I know that refreshing the other worksheet (master list) is
    Please Login or Register  to view this content.
    But I would like to refresh this master worksheet when I click into another tab (account summary), not the master worksheet tab. Does anyone know how to create a macro that calculates the values for specific worksheet when another worksheet is activated? Thanks!

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,646

    Re: Macro to refresh another worksheet when tab is activated

    Replace Me with a reference to the sheet you want to calculate and put the code in the 'Account Summary' sheet's module.
    [code]
    Private Sub Worksheet_Activate()


    Worksheets("Master List").Calculate


    End Sub
    If posting code please use code tags, see here.

+ 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. Making this macro run automatically when the worksheet tab is activated
    By juliettelam in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2014, 09:23 PM
  2. [SOLVED] Worksheet Activate does not run when sheet activated using VBA
    By solnajeff in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-03-2014, 05:40 PM
  3. Form with activated worksheet
    By jovir in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2013, 07:52 AM
  4. Replies: 0
    Last Post: 01-07-2013, 08:39 PM
  5. Run a macro when a Worksheet is clicked/activated
    By Warren McGoldrick in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2005, 06:06 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