+ Reply to Thread
Results 1 to 3 of 3

call a Macro when refresh is clicked

  1. #1
    Registered User
    Join Date
    06-16-2009
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question call a Macro when refresh is clicked

    Hi,
    I have a requirement, where whenever the user clicks refresh / refresh all, i need to call a macro. I tried using BeforeRefresh() and AfterRefresh(), but somehow those are not working.
    can anyone help me on this.

  2. #2
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193

    Re: call a Macro when refresh is clicked

    Could you be any more specific?

    Post an example spreadsheet if you have to.
    starryknight64

  3. #3
    Registered User
    Join Date
    06-16-2009
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: call a Macro when refresh is clicked

    Hi,
    Sorry for the lack in clarity.
    In my workbook, i have 2 sheets. each sheet has a query table. when the user clicks on refresh / refresh all (for refreshing the Query table), i need to call a macro / function to perform an operation before refreshing the query tables.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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