ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   end of a pivod table (https://www.excelbanter.com/excel-programming/292821-end-pivod-table.html)

vish

end of a pivod table
 
hi,

how do i get the edge of a pivot table in a VBA so that
when run my next pivot table macro the new table does not
overlap on the previous one .

Thanx

Bernie Deitrick

end of a pivod table
 
vish,

ActiveSheet.PivotTables("PivotTable1").PivotSelect "", xlDataAndLabel
MsgBox "The first row below the PT is " & Selection.Row +
Selection.Rows.Count

HTH,
Bernie
MS Excel MVP
"vish" wrote in message
...
hi,

how do i get the edge of a pivot table in a VBA so that
when run my next pivot table macro the new table does not
overlap on the previous one .

Thanx





All times are GMT +1. The time now is 05:16 AM.

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