I guess that making use of the wdStyle constants would work as an alternative: wdStyleNormal can be used for Normal style and wdStyleCaption for the Caption style.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|