View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Morten poulsem Morten poulsem is offline
external usenet poster
 
Posts: 1
Default 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.