#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Help on Marcos

I'm using a macros here and here should have 4 columns.
But sometimes when 1 column without any figure.
It will show up 1 position is missing then the whole Pivot table can't be
calculated
How could I use the Pivot table with 1 missing figure. Thanks!


ActiveSheet.PivotTables("PivotTable2").NullString = "0"
Range("E4").Select
ActiveSheet.PivotTables("PivotTable2").PivotFields ("PREV
Analsis").PivotItems( _
"New").Position = 1
ActiveSheet.PivotTables("PivotTable2").PivotFields ("PREV
Analsis").PivotItems( _
"Uplift").Position = 2
ActiveSheet.PivotTables("PivotTable2").PivotFields ("PREV
Analsis").PivotItems( _
"Flat").Position = 3
ActiveSheet.PivotTables("PivotTable2").PivotFields ("PREV
Analsis").PivotItems( _
"Reduced").Position = 4
With ActiveSheet.PivotTables("PivotTable2").PivotFields (" AE")
.PivotItems("(blank)").Visible = 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
Customized marcos cannot save to tools-bar Elton Law[_2_] Excel Worksheet Functions 1 April 9th 09 03:46 PM
How do you enbed a marcos or VB in a sheet? Mike Stewart New Users to Excel 3 January 16th 09 01:55 PM
Delete old Marcos cyndi Excel Discussion (Misc queries) 1 October 24th 07 10:08 PM
were can i find stuff on writting marcos help Excel Discussion (Misc queries) 1 February 24th 06 11:48 PM
Marcos cjloneranger Excel Worksheet Functions 1 August 9th 05 03:39 PM


All times are GMT +1. The time now is 11:28 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"