Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a work book which has a pivot table integrated as a summary page. I
need to allow the end user to update the pivot table with their changes but not allow them to be able to change/modify/update the pivot table it self? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
you can record a macro as you unprotect the sheet, refresh, then reprotect.
Then, add a "Refresh" button to the worksheet, and assign that macro to the button. Rob Coldwell wrote: I have a work book which has a pivot table integrated as a summary page. I need to allow the end user to update the pivot table with their changes but not allow them to be able to change/modify/update the pivot table it self? -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Debra,
Thanks for the quick reply. I created this macro but the challenge now is that it asks the user to enter the password. My end user cannot know the password to the workbook. Any other ideas? Also, Do you know how to set a print setting to enter the date when the pivot table was last updated. This would be very helpful. Thanks - Rob "Debra Dalgleish" wrote: you can record a macro as you unprotect the sheet, refresh, then reprotect. Then, add a "Refresh" button to the worksheet, and assign that macro to the button. Rob Coldwell wrote: I have a work book which has a pivot table integrated as a summary page. I need to allow the end user to update the pivot table with their changes but not allow them to be able to change/modify/update the pivot table it self? -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In the recorded code, you can add a password, e.g.:
'========================== Sub RefreshPivot() ActiveSheet.Unprotect Password:="MyPwd" ActiveSheet.PivotTables("PivotTable1").PivotCache. Refresh ActiveSheet.Protect Password:="MyPwd", _ DrawingObjects:=True, Contents:=True, _ Scenarios:=True, AllowUsingPivotTables:=True End Sub '======================= To add the refresh date to the footer, you can use a macro. '========================== Sub PrintPivot() Dim ws As Worksheet Set ws = ActiveSheet ws.PageSetup.RightFooter = "Last refreshed: " & _ Format(ws.PivotTables(1).RefreshDate, "dd-mmm-yyyy hh:mm") ws.PrintOut Preview:=True End Sub '========================== Rob Coldwell wrote: Debra, Thanks for the quick reply. I created this macro but the challenge now is that it asks the user to enter the password. My end user cannot know the password to the workbook. Any other ideas? Also, Do you know how to set a print setting to enter the date when the pivot table was last updated. This would be very helpful. Thanks - Rob "Debra Dalgleish" wrote: you can record a macro as you unprotect the sheet, refresh, then reprotect. Then, add a "Refresh" button to the worksheet, and assign that macro to the button. Rob Coldwell wrote: I have a work book which has a pivot table integrated as a summary page. I need to allow the end user to update the pivot table with their changes but not allow them to be able to change/modify/update the pivot table it self? -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2k Pivot Table refresh scenario | Excel Discussion (Misc queries) | |||
Pivot table problems since install of Office SP2 update | Excel Worksheet Functions | |||
Pivot table problems since install of Office SP2 update | Excel Discussion (Misc queries) | |||
update the underlying data source of a pivot table | Excel Discussion (Misc queries) | |||
Pivot table, dynamic data formula | Excel Discussion (Misc queries) |