A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Pivot Table Refresh



 
 
Thread Tools Display Modes
  #1  
Old March 23rd, 2010, 03:50 PM posted to microsoft.public.excel.worksheet.functions
Eric
external usenet poster
 
Posts: 1,956
Default Pivot Table Refresh

I believe there is a way to create a button to refresh multiple pivot tables
within the same file, but I can't seem to figure it out.

I'm creating a model and would like less sophisticated users to be able to
use it. I would therefore like to create a simple button to refresh all
pivot tables on the first sheet of the workbook.

Any help is greatly appreciated!!
  #2  
Old March 23rd, 2010, 05:50 PM posted to microsoft.public.excel.worksheet.functions
Roger Govier[_8_]
external usenet poster
 
Posts: 338
Default Pivot Table Refresh

Hi Eric

Add the following code to a button on your page

Sub RefreshAll()
ActiveWorkbook.RefreshAll

End Sub

--
Regards
Roger Govier

Eric wrote:
I believe there is a way to create a button to refresh multiple pivot tables
within the same file, but I can't seem to figure it out.

I'm creating a model and would like less sophisticated users to be able to
use it. I would therefore like to create a simple button to refresh all
pivot tables on the first sheet of the workbook.

Any help is greatly appreciated!!

  #3  
Old March 23rd, 2010, 11:55 PM posted to microsoft.public.excel.worksheet.functions
Eric
external usenet poster
 
Posts: 1,956
Default Pivot Table Refresh

Roger,

Thanks much for your response. I'm guessing it will work once I figure out
how to add code to a button.

Again, any help is greatly appreciated.


"Roger Govier" wrote:

Hi Eric

Add the following code to a button on your page

Sub RefreshAll()
ActiveWorkbook.RefreshAll

End Sub

--
Regards
Roger Govier

Eric wrote:
I believe there is a way to create a button to refresh multiple pivot tables
within the same file, but I can't seem to figure it out.

I'm creating a model and would like less sophisticated users to be able to
use it. I would therefore like to create a simple button to refresh all
pivot tables on the first sheet of the workbook.

Any help is greatly appreciated!!

.

  #4  
Old March 24th, 2010, 01:13 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default Pivot Table Refresh

Hi,

In Excel 2007, there is a button to "Refresh All" under Pivot Table Tools
Options. When you click on that button, all pivot tables should update.
Not sure of whether there is a "Refresh all" in Excel 2003

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Eric" wrote in message
...
I believe there is a way to create a button to refresh multiple pivot
tables
within the same file, but I can't seem to figure it out.

I'm creating a model and would like less sophisticated users to be able to
use it. I would therefore like to create a simple button to refresh all
pivot tables on the first sheet of the workbook.

Any help is greatly appreciated!!


  #5  
Old March 24th, 2010, 09:47 AM posted to microsoft.public.excel.worksheet.functions
Roger Govier[_8_]
external usenet poster
 
Posts: 338
Default Pivot Table Refresh

Hi Eric

For XL2003
ViewToolbarsFormsclick the button iconclick a location on your sheet
and drag to the size you want.
You will then be asked what macro you want to add, point to the macro
provided and click OK.

You can change the text of the Button to what you want, by right
clicking on the button, and you can drag it to any position on the
screen that you wish.

For XL2007
You need to have the Developer tab switched on
Click Round Office buttonExcel Optionsclick Show Developer tab
From Developer tabControls sectionInsertForm ControlsButton and
proceed as for XL2003

Alternatively in XL2007insert TabIllustrationsShapeschoose a shape.
Right click on shape and you will see an option to Add macro.

--
Regards
Roger Govier

Eric wrote:
Roger,

Thanks much for your response. I'm guessing it will work once I figure out
how to add code to a button.

Again, any help is greatly appreciated.


"Roger Govier" wrote:

Hi Eric

Add the following code to a button on your page

Sub RefreshAll()
ActiveWorkbook.RefreshAll

End Sub

--
Regards
Roger Govier

Eric wrote:
I believe there is a way to create a button to refresh multiple pivot tables
within the same file, but I can't seem to figure it out.

I'm creating a model and would like less sophisticated users to be able to
use it. I would therefore like to create a simple button to refresh all
pivot tables on the first sheet of the workbook.

Any help is greatly appreciated!!

.

  #6  
Old March 24th, 2010, 07:55 PM posted to microsoft.public.excel.worksheet.functions
Eric
external usenet poster
 
Posts: 1,956
Default Pivot Table Refresh

Thanks again Roger. That worked perfectly.



"Roger Govier" wrote:

Hi Eric

For XL2003
ViewToolbarsFormsclick the button iconclick a location on your sheet
and drag to the size you want.
You will then be asked what macro you want to add, point to the macro
provided and click OK.

You can change the text of the Button to what you want, by right
clicking on the button, and you can drag it to any position on the
screen that you wish.

For XL2007
You need to have the Developer tab switched on
Click Round Office buttonExcel Optionsclick Show Developer tab
From Developer tabControls sectionInsertForm ControlsButton and
proceed as for XL2003

Alternatively in XL2007insert TabIllustrationsShapeschoose a shape.
Right click on shape and you will see an option to Add macro.

--
Regards
Roger Govier

Eric wrote:
Roger,

Thanks much for your response. I'm guessing it will work once I figure out
how to add code to a button.

Again, any help is greatly appreciated.


"Roger Govier" wrote:

Hi Eric

Add the following code to a button on your page

Sub RefreshAll()
ActiveWorkbook.RefreshAll

End Sub

--
Regards
Roger Govier

Eric wrote:
I believe there is a way to create a button to refresh multiple pivot tables
within the same file, but I can't seem to figure it out.

I'm creating a model and would like less sophisticated users to be able to
use it. I would therefore like to create a simple button to refresh all
pivot tables on the first sheet of the workbook.

Any help is greatly appreciated!!
.

.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.