ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   PivotTable ShowDetail not into ActiveWorkbook (https://www.excelbanter.com/excel-programming/430950-pivottable-showdetail-not-into-activeworkbook.html)

baldmosher

PivotTable ShowDetail not into ActiveWorkbook
 

When drilling into a pivot table, can Excel create the datasheet in another
'working document' workbook?

Currently my code is as follows but this just seems one step too many.

Set WB = Workbooks("working.xls")
rng.ShowDetail = True
ActiveSheet.Move After:=WB.Sheets(WB.Sheets.Count)

Patrick Molloy

PivotTable ShowDetail not into ActiveWorkbook
 
i don't think so.
your method is what I'd go with.

"baldmosher" wrote in message
...
When drilling into a pivot table, can Excel create the datasheet in
another
'working document' workbook?

Currently my code is as follows but this just seems one step too many.

Set WB = Workbooks("working.xls")
rng.ShowDetail = True
ActiveSheet.Move After:=WB.Sheets(WB.Sheets.Count)




All times are GMT +1. The time now is 11:17 PM.

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