font changes during maco

B

BRC

I have a macro that types the caption to a letter using the following
method:
Selection.TypeText "Customer: " & vbTab & custname
Selection.TypeParagraph
Selection.TypeText "Order No: " & vbTab & orderno
Selection.TypeParagraph
Selection.TypeText "Order Date: " & vbTab & orderdt
'end of caption
My problem is on the third line the font changes so the caption has 2 lines
in baskerville and 1 line in new times roman. I can't see why this happens.
Any suggestions would be appreciated
Thanks BRC
 
C

Charles Kenyon

Take a look at the style for each paragraph.

If they are different, you have settings in the style of the second line to
change to the TNR font style on the third line.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
B

BRC

Thanks, that is exactly the problem.
Charles Kenyon said:
Take a look at the style for each paragraph.

If they are different, you have settings in the style of the second line to
change to the TNR font style on the third line.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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