Does anyone know how to programmatically get the list of available label formats from Microsoft Word through ActiveX Automation?
The ones I need are the predefined label formats, not the custom label formats.
(The custom label formats are available through the WordApp.MailingLabel.CustomLabels collection... in a new installation there are no custom label formats, but there ARE a TON of Avery, FormTec, Xerox, and other formats)
I want to present my users with a list of label formats for them to pick from, then My program will automate word and produce the labels in the right format. I want to avoid manually copying all the format names into a table, etc, plus, if MS Word adds more label formats, I want them to automatically show up.
The ones I need are the predefined label formats, not the custom label formats.
(The custom label formats are available through the WordApp.MailingLabel.CustomLabels collection... in a new installation there are no custom label formats, but there ARE a TON of Avery, FormTec, Xerox, and other formats)
I want to present my users with a list of label formats for them to pick from, then My program will automate word and produce the labels in the right format. I want to avoid manually copying all the format names into a table, etc, plus, if MS Word adds more label formats, I want them to automatically show up.