From the Word97 SR2 help files:
vbVerticalTab Chr(11) Not useful in Microsoft Windows
It seems useful.
I thought we were going to use (supplied) identified onstants as a form of good coding practice.
It works.
I’m using it.
Can anyone think of a good reason not to use it?
Public Function TypeHeading(flds) Selection.HomeKey Unit:=wdStory Selection.TypeText (flds("saln") & " " & flds("given") & " " & flds("surn")) & vbVerticalTab If flds("title") "" Then Selection.TypeText (flds("title")) & vbVerticalTab If flds("business") "" Then Selection.TypeText (flds("business")) & vbVerticalTab If flds("address") "" Then Selection.TypeText (flds("address")) & vbVerticalTab If flds("address2") "" Then Selection.TypeText (flds("address2")) & vbVerticalTab Selection.TypeText (flds("city") & " " & flds("prov") & " " & flds("postcode")) & vbCrLf Selection.TypeText "Dear " & (flds("saln") & " " & flds("surn")) & vbCrLf End Function