Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default Hide calculatedField

How do you hide a calculatedfield in a pivottable?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Hide calculatedField

Hi Todd
have you tried recording a macro while doing this manually (removing
this field)

--
Regards
Frank Kabel
Frankfurt, Germany


Todd Huttenstine wrote:
How do you hide a calculatedfield in a pivottable?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default Hide calculatedField

Yes here is the macro I recorded when I removed the
field...

ActiveSheet.PivotTables("PivotTable1").PivotFields
("Percent Overdue"). _
Orientation = xlHidden


Then I when I set the pivottable back to the way it was
right before the macro was run, and then run the macro
again, I get the error: "Run-time error '1004':
Unable to get the PivotFields property of the PivotTable
class"

This is why I think it may be an Excel or VBA glitch. Its
like the macro recorder is recording the wrong code.


-----Original Message-----
Hi Todd
have you tried recording a macro while doing this

manually (removing
this field)

--
Regards
Frank Kabel
Frankfurt, Germany


Todd Huttenstine wrote:
How do you hide a calculatedfield in a pivottable?


.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default Hide calculatedField

Hey this is a bug. I looked on google groups and
websearch and it has been reported to Microsoft.


You cannot hide a calculatedfield programmatically.



-----Original Message-----
Hi Todd
have you tried recording a macro while doing this

manually (removing
this field)

--
Regards
Frank Kabel
Frankfurt, Germany


Todd Huttenstine wrote:
How do you hide a calculatedfield in a pivottable?


.

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
How do you hide/un-hide the grid lines ED Excel Discussion (Misc queries) 4 February 26th 13 03:22 PM
Want to Hide columns in spreadsheet but NOT hide data in chart. KrispyData Charts and Charting in Excel 1 March 20th 09 04:45 PM
How do I hide hide #REF! in Excel PerryK Excel Discussion (Misc queries) 3 February 27th 09 02:59 PM
Solve Order of a CalculatedField in a Pivot Table Gary L Brown Excel Discussion (Misc queries) 0 August 25th 05 01:58 PM
How do I hide a worksheet in Excel and use a password to un-hide . Dchung Excel Discussion (Misc queries) 3 December 2nd 04 06:24 AM


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

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"