Quote:
Originally Posted by jeffreybrown
1) How can I modify a style so it will produce TNR and 10 along with the alignment.
|
Why not create a Style with the required attributes? If you add that Style to the document template, it will be available any time you need it. See:
http://www.dummies.com/how-to/conten...word-2013.html
http://www.dummies.com/how-to/conten...word-2010.html
http://www.addbalance.com/usersguide/styles.htm
Quote:
Originally Posted by jeffreybrown
2) Also, are there any areas in this macro that could be modified to further use any built in styles within Word?
|
Well, if you create a Style named 'Tbl', whose attributes correspond to:
Code:
.Range.Font.Name = "Times New Roman"
.Range.Font.Size = 10
.Range.ParagraphFormat.Alignment = wdAlignParagraphCenter
you could replace all those lines with:
Code:
.Range.Style = "Tbl"
Similarly, if you create a Style named 'TblHdr', whose attributes correspond to:
• Name = "Times New Roman"
• Size = 10
• Bold = True
• Alignment = wdAlignParagraphLeft
you could replace:
Code:
.Range.Style = "Strong"
.Range.ParagraphFormat.Alignment = wdAlignParagraphLeft
with:
Code:
.Range.Style = "TblHdr"