ChartType inconsistent on various LanguagePacks

M

Morten poulsem

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top