International Range style settings
Styles have both Name and Local name properties, so I *think* the English
name should work in all language versions. I can't be sure as I only have
English, but try this -
Dim sty As Style
For Each sty In ActiveWorkbook.Styles
Debug.Print sty.Name, sty.NameLocal
Next
Regards,
Peter T
"Wouter HM" wrote in message
...
Hi there,
I am using Excel 2007, the Ducth version.
I have created a workbook with macros, partly recorded.
In one of the I am using some code like
With ActiveCell
If .Value < gdblNormValue Then
.Style = "Ongeldig"
End If
End With
In the English version it shoul be
With ActiveCell
If .Value < gdblNormValue Then
.Style = "Bad"
End If
End With
Is there a constant I can ue instead of the text "Bad"?
Thanks
Wouter
|