ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Shadows of the Pivottable Field List while macro is running (https://www.excelbanter.com/excel-worksheet-functions/15091-shadows-pivottable-field-list-while-macro-running.html)

David P

Shadows of the Pivottable Field List while macro is running
 
Hi All,

Does any know how you can prevent the Pivot Table Field List and the Pivot
Table Command Bar from popping up during a macro run that creates reports. I
do use the below codes in the macro, but an outline of a shadow box for the 2
displays until the macro finishes.

Application.ScreenUpdating = False
ActiveWorkbook.ShowPivotTableFieldList = False
Application.CommandBars("PivotTable").Visible = False

Thanks,



--
David P


All times are GMT +1. The time now is 10:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com