Re: $$Excel-Macros$$ Thanks in advance

2012-02-11 Thread Maries
Hi, Try this code: Sub AllWorkbookPivots() Dim pt As PivotTable Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets For Each pt In ws.PivotTables pt.RefreshTable Next pt Next ws End Sub Regards, MARIES. On Sat, Feb 11, 2012 at 11:11 AM,

Re: $$Excel-Macros$$ Thanks in advance

2012-02-11 Thread xlstime
Hi, use short key for refresh all pivot tables in workbook press crtl+alt+f5 On 2/11/12, Maries talk2mar...@gmail.com wrote: Hi, Try this code: Sub AllWorkbookPivots() Dim pt As PivotTable Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets For Each pt In

Re: $$Excel-Macros$$ Thanks in advance

2012-02-11 Thread dguillett1
You need to do your own HOMEWORK. Don Guillett SalesAid Software dguille...@gmail.com From: vijayajith VA Sent: Saturday, February 11, 2012 1:11 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Thanks in advance HI Maries They told me to write a program.. to refresh all

Re: $$Excel-Macros$$ Thanks in advance

2012-02-11 Thread NOORAIN ANSARI
Dear Vijay, The following code will refresh all pivot tables in an excel workbook or a worksheet. There are two ways to achieve this: *Refresh all pivots in Workbook – Method 1* Sub try1() For Each pt In ActiveWorkbook.PivotCaches pt.Refresh Next pt End Sub *Refresh all pivots in Workbook –

$$Excel-Macros$$ Thanks in advance

2012-02-10 Thread vijayajith VA
Hi Question asked in interview i have nearly 30 pivot tablein 30 sheets i need to enter data in master sheetat a time i need to refresh alll the pivot table... how to link the pivot table... Please help me.i dont have any workbook.. question asked in

Re: $$Excel-Macros$$ Thanks in advance

2012-02-10 Thread Maries
*If source data is same for all pivots, refresh anyone of the pivot. other pivots too get refreshed.* On Sat, Feb 11, 2012 at 9:41 AM, vijayajith VA vijayajith...@gmail.comwrote: Hi Question asked in interview i have nearly 30 pivot tablein 30 sheets i need to enter

Re: $$Excel-Macros$$ Thanks in advance

2012-02-10 Thread vijayajith VA
HI Maries They told me to write a program.. to refresh all the pivot tables at a time. i need a code to refresh all the pivottables. Thanks On Sat, Feb 11, 2012 at 11:59 AM, Maries talk2mar...@gmail.com wrote: *If source data is same for all pivots, refresh anyone of the pivot. other