Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Excel VSTO pivot table code revision help needed...

Hello,

The first line below works cleanly in my project, but I am having
errors/issues with the next two lines.

Globals.Sheet16.PivotTables("PivotTable2").PivotCa che.Refresh()
Globals.Sheet16.PivotTables("PivotTable2").PivotFi elds("fy").Item(1).Visibl*
e = True
Globals.Sheet16.PivotTables("PivotTable2").PivotFi elds("fy").Item(2).Visibl*
e = False

Please advise as to what is needed to revise the code to get it to
work as expected.

Thanks,

Kevin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,180
Default Excel VSTO pivot table code revision help needed...


..PivotFields(1).PivotItems(2).Visibl*e = False


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VSTO pivot table code revision help needed...

Herbert,

Thanks, it worked as I had hoped!

Thanks,

Kevin

---
frmsrcurl: http://msgroups.net/microsoft.public...on-help-needed
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Excel VSTO pivot table code revision help needed...

Herbert,

Thanks, it worked as I had hoped!

Thanks,

Kevin

On Feb 28, 12:42*pm, Herbert Seidenberg
wrote:
.PivotFields(1).PivotItems(2).Visibl*e = False


Reply
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
Pivot Table dynamic range code needed CLR Excel Programming 3 October 18th 09 01:30 AM
Excel Pivot Table VB Code carolini Excel Discussion (Misc queries) 1 February 6th 06 09:33 PM
Macro Revision needed HJ Excel Programming 5 May 27th 05 09:57 PM
Get VSTO code to run on every launch of Excel Dave Excel Programming 1 December 8th 04 08:56 PM
Pivot table help needed Sajith Excel Programming 0 September 27th 04 05:13 PM


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

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

About Us

"It's about Microsoft Excel"