Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

Bolding Address in Labels w/ Word Automation?

$
0
0

I have a unique problem. Right now, I'm creating a single label on an label sheet using

ActiveDoc = oWord.Application.MailingLabel.CreateNewDocumentByID(labelID:=AveryType)

and then adding 3 paragrpahs of info like a normal word doc using Paragraph.Add, etc. on the first label.

The problem is that I would like to create a full page of labels, and I know you can use

address:="The Text"

for full page of labels of that text, but it's 3 different paragraphs, and the first paragraph is user selectable to be Bold or not. Using Cell selects like a normal word doc after the label sheet is created and doing it won't work because different labels have different spacer cells (how many, where, etc.).

I know inside Word in the Labels dialog you can right click the Address and bold it, etc.

So how can I do this programmatically? Anyone have any code or ideas?

Massive thanks!



Viewing all articles
Browse latest Browse all 4350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>