PDA

View Full Version : VBA Macro to customize text box in Word 2010.



staicumihai
04-09-2016, 12:04 AM
Hi guys,
I am using Microsoft Word 2010 and I need a macro to customize text box like this:

a) resize shape to fit text;
b) set internal margins: left 0,2cm, right 0,2cm, top 0,1cm, bottom 0,1cm.
c) vertical alignment: middle.
d) center all the text in the box.

Any ideas on how to do that ?
Thanks a lot and have a nice day!