Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Macro-recording doesn't seem to handle the German decimal point "," all too well. Using the Macro-Recorder when changing the unit in a Pivot table, the algorithm generates: Sub ChangeUnit() ' ' ChangeUnit Makro ' ' Tastenkombination: Strg+q ' With ActiveSheet.PivotTables("PivotTable1").PivotFields ( _ "Mittelwert von Cost per kW") .NumberFormat = "#.##0,00 ""‚¬/kW""" End With End Sub .... whereas is should generate ... Sub ChangeUnit() ' ' ChangeUnit Makro ' ' Tastenkombination: Strg+q ' With ActiveSheet.PivotTables("PivotTable1").PivotFields ( _ "Mittelwert von Cost per kW") .NumberFormat = "#,##0.00 ""‚¬/kW""" End With End Sub .... for the macro to work properly. Regards p.s.: Excel 2010 Beta ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...el.programming |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Recording a Macro | Excel Programming | |||
My excel macro recorder no longer shows up when recording macro | Excel Discussion (Misc queries) | |||
My excel macro recorder no longer shows up when recording macro | Excel Discussion (Misc queries) | |||
How do I make the Stop Recording bar pop up when recording macros | Excel Worksheet Functions | |||
Erroneous Regression on Residuals | Excel Discussion (Misc queries) |