ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ChartType inconsistent on various LanguagePacks (https://www.excelbanter.com/excel-programming/353809-charttype-inconsistent-various-languagepacks.html)

Morten poulsem

ChartType inconsistent on various LanguagePacks
 
I have the following line of code, that is running perfectly under the
lanuage settings 'UK' or 'USA':
ActiveChart.ApplyCustomType ChartType:=xlBuiltIn, TypeName:="Line - Column
on 2 Axes"

When i try running it on off the other company default settings {NO, DK, SE}
it gives a error. Recording the same operation on settings: DK, gives the
following:
ctiveChart.ApplyCustomType ChartType:=xlBuiltIn, TypeName:= "Kurve - søjle
på to akser"

Is there a way to use a concistent string. As this is not a constant, like
xlBuiltIn.


All times are GMT +1. The time now is 10:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com