Is there any easy way to figure out the built-in style ID code (e.g. “Normal” is wdStyleNorma is -1) when you’re iterating through the list of styles? There does not appear to be a .id or .index property for the style object:
For Each oSt in ActiveDocument.Styles If oSt.BuiltIn then 'What is the ID Number? End If Next
I’m working on a tool to remap styles for imported text. It’s for a multinational company, so “Heading 1” isn’t called “Heading 1” in Germany, and I don’t want to store the same style names in multiple languages in my remapping table.
Worst-case scenario is re-iterating through the wdBuiltInStyle list to see which one matches the NameLocal, but that’s a royal pain.
Thanks,
Joel