LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 510
Default selecting a pivot table through VBA

Hi Valeria,

A couple of suggestions :

1. To delete Totals, there is no need to delete, it can be part of
Table Options

With ActiveSheet.PivotTables("PivotTable1")
.ColumnGrand = False
.RowGrand = False
End With

2. The xlLastCell instruction can be tricky, it might be safer to use
Range(Selection, Selection.End(xlDown)).Select

HTH
Cheers
Carim

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting Pivot Table Raw Data Karen Excel Worksheet Functions 2 December 3rd 08 05:59 PM
How I can create a Pivot table by selecting two Different Pivot Rajini Excel Worksheet Functions 1 August 22nd 08 01:45 AM
Help with Selecting Ranges in Pivot Table pikapika13[_3_] Excel Programming 3 March 29th 06 03:41 AM
Pivot Table Selecting Items AK Excel Programming 1 May 2nd 05 08:02 PM
Selecting Rows in Pivot Table MAB71 Excel Programming 2 October 20th 03 06:18 PM


All times are GMT +1. The time now is 01:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"