A
ajaypondicherry
I am creating a Microsoft Excel Spreadsheet which launches a Word Doc
and would like to make a document title in a certain format and below
it make the body text with another format. It seems as if both texts
always use the same formatting. Below is a section of my code.
With mywdRange
.Text = Range("F6") & " Title" & " Text"
.Font.Name = "Comic Sans MS"
.Font.Size = 20
.Bold = True
End With
With mywdRange
.Text = Range("F6") & " Body" & " Text"
.Font.Name = "Comic Sans MS"
.Font.Size = 12
.Bold = False
End With
and would like to make a document title in a certain format and below
it make the body text with another format. It seems as if both texts
always use the same formatting. Below is a section of my code.
With mywdRange
.Text = Range("F6") & " Title" & " Text"
.Font.Name = "Comic Sans MS"
.Font.Size = 20
.Bold = True
End With
With mywdRange
.Text = Range("F6") & " Body" & " Text"
.Font.Name = "Comic Sans MS"
.Font.Size = 12
.Bold = False
End With