Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vba word 2000 word wraps incorrectly

Status
Not open for further replies.

Rick72

Programmer
Jun 18, 2003
2
US
I wrote vba word 2000 macros to input and format test questions. At times the last character on a line falls outside the table. If I move the table boundary, then other lines fail to show the last character.

Is there a bug here in word wrap or am I doing something wrong?

Any help will be appreciated. As is, I must proofread each test to see if word wrapping was done correctly.
 
I gave these a try:

'ActiveDocument.Tables(QI).Columns.AutoFit
'ActiveDocument.Tables(QI).AllowAutoFit = True

They change where the line wraps, but do not prevent the error if the line touchs the document right margin. It seems the secretary using this program made a bad choice when selecting Times New Roman, 11. I just found other fonts do not have this problem.

Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top