Centering text in VBA code?

M

MxPxRobbie

Good morning folks, I have a quick question:

I'm creating a form where the individual headings on the document will
change depending on the selections made in the form. I would like to
center these headings, to make them stand off from the text below
them. Is there a way to do this without centering the bookmark?

Thanks in advance,
Robbie
 
J

Jonathan West

Good morning folks, I have a quick question:

I'm creating a form where the individual headings on the document will
change depending on the selections made in the form. I would like to
center these headings, to make them stand off from the text below
them. Is there a way to do this without centering the bookmark?

Thanks in advance,
Robbie

Set the Alignment property of the ParagraphFormat object of the relevant
range to wdAlignParagraphCenter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top