Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pivot Table issue
Hi
I have a pivot table and need to know which code should I write in order to change a RowField by another on the database but, whithout knowing the existing selected rowfield Regards Pedro |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pivot Table issue
Tom are you able to help me on this?
Regards Pedro "Pedro" wrote in message ... Hi I have a pivot table and need to know which code should I write in order to change a RowField by another on the database but, whithout knowing the existing selected rowfield Regards Pedro |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pivot Table issue
I'm not sure what you mean? Can you be more specific or provide an
example of what you want to do? Mark --- Mark Bigelow mjbigelow at hotmail dot com http://hm.imperialoiltx.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pivot Table issue
I have in the Row Field "Segment Name" I want to write a code in order to
replace the field by "Currency" but whithout taking into account the name of the existing. Next time I might have another field name and replace by Currency "Mark Bigelow" wrote in message ... I'm not sure what you mean? Can you be more specific or provide an example of what you want to do? Mark --- Mark Bigelow mjbigelow at hotmail dot com http://hm.imperialoiltx.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pivot Table issue
This should do it:
' This variable tells which position the field is in ' First position is 0 intFieldPos = 0 ActiveSheet.PivotTables("PivotTable1").PivotFields (intFieldPos).Orientat ion = _ xlHidden With ActiveSheet.PivotTables("PivotTable1").PivotFields ("Currency") .Orientation = xlRowField .Position = intFieldPos End With Let me know if this doesn't work. Mark --- Mark Bigelow mjbigelow at hotmail dot com http://hm.imperialoiltx.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Issue with pivot table | Excel Discussion (Misc queries) | |||
One pivot table cannot overlap another pivot issue. | Excel Discussion (Misc queries) | |||
Pivot Table Issue | Excel Worksheet Functions | |||
Pivot table sum issue | Excel Discussion (Misc queries) | |||
Pivot Table Issue | Excel Worksheet Functions |