VBA, Excel, how to set specific styles without using their names?
The names are localized and therefore useless for my application, which will be used by the version of Excel in different languages.
One UGLY solution that I can come up with is to keep a list of those styles applied to some cells in a hidden worksheet, and then check their names and use them for runtime ...
But there must be some simpler way, right? MS could not spoil such an important aspect of Excel.
PS Here are some examples of styles from registering macros:
Selection.Style = "Akcent 6"
Range("G4").Select
Selection.Style = "60% — akcent 6"
Range("G5").Select
Selection.Style = "Akcent 5"