Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi ALL
This is my first post, so excuse me for any faux pas on etiquette. I'm creating various pivot tables by VBA code. For each datafield I change the name so that the columns would not be too wide, and so that I don't get the "Sum of " thing. My methodolgy of changing the name relies on the datafield starting with 'Somme' (Note that I use French excel). I notice that Excel 02 has 'Somme de ' meaning that my code comes to a halt. I have stuck in a few lines of 'IF' statements relating to Excel version to remedy this. However, this is not all encompassing, and doesn't help when I pass some code to my colleagues not using French excel. Does there exist a method by whereby I can return the datafield's name irrelevant of which Excel version (French or otherwise), and based upon the name of the field being summed (or counted for that matter). Regards |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting number of unique datafields in a column | Excel Discussion (Misc queries) | |||
Changing field names without affecting pivot table | Excel Discussion (Misc queries) | |||
Pivot Table DataFields are appended with a '2', why? | Excel Discussion (Misc queries) | |||
Changing range names in VBA | Excel Programming | |||
changing 'names' | Excel Programming |