Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
DMithias
 
Posts: n/a
Default Add a button to refresh a pivot in another tab of the same workbook


Ok... I'm just beginning to learn how to use macros so please be kind.


I have a report that pulls totals from a pivot table on another tab
using a vlookup. I want to add a command button on the report tab that
I can click and refresh the pivot table on the other tab.

If anyone has some good code for this or else can point me to a good
source it would be much appreciated.

-DM


--
DMithias
------------------------------------------------------------------------
DMithias's Profile: http://www.excelforum.com/member.php...o&userid=31322
View this thread: http://www.excelforum.com/showthread...hreadid=510188

  #2   Report Post  
Posted to microsoft.public.excel.misc
Anne Troy
 
Posts: n/a
Default Add a button to refresh a pivot in another tab of the same workbook

This macro is cool, D. It refreshes the pivot table whenever you click on
the worksheet on which it resides.
http://vbaexpress.com/kb/getarticle.php?kb_id=80 Perhaps that will work for
you.

************
Hope it helps!
Anne Troy
www.OfficeArticles.com
Check out the NEWsgroup stats!
Check out: www.ExcelUserConference.com

"DMithias" wrote in
message ...

Ok... I'm just beginning to learn how to use macros so please be kind.


I have a report that pulls totals from a pivot table on another tab
using a vlookup. I want to add a command button on the report tab that
I can click and refresh the pivot table on the other tab.

If anyone has some good code for this or else can point me to a good
source it would be much appreciated.

-DM


--
DMithias
------------------------------------------------------------------------
DMithias's Profile:
http://www.excelforum.com/member.php...o&userid=31322
View this thread: http://www.excelforum.com/showthread...hreadid=510188



  #3   Report Post  
Posted to microsoft.public.excel.misc
DMithias
 
Posts: n/a
Default Add a button to refresh a pivot in another tab of the same workbook


Thanks Anne. It worked. Still, though, there is something satisyfing
to actually seeing the information change when you hit refresh. If you
happen to run across something similar that would be great. In the
meantime, thanks for the info, it is handy.


--
DMithias
------------------------------------------------------------------------
DMithias's Profile: http://www.excelforum.com/member.php...o&userid=31322
View this thread: http://www.excelforum.com/showthread...hreadid=510188

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot table using different worksheets/same workbook Mellie Charts and Charting in Excel 1 December 14th 05 09:06 PM
Copying a button with code into another workbook Daniel Lees Excel Discussion (Misc queries) 1 August 15th 05 01:39 PM
Excel Pivot tables refresh Dkso Excel Worksheet Functions 3 July 3rd 05 04:55 PM
Refresh all pivot tables in a workbook nc Excel Discussion (Misc queries) 3 June 22nd 05 06:37 PM
Pivot table Data refresh SSD1 Excel Worksheet Functions 2 June 17th 05 09:13 PM


All times are GMT +1. The time now is 03:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"