Hi Jay,
Thank you for your prompt response. Unfortunately, I cannot use the
AutoText entry in the document template because I still have to have it
prompt for the attorney's initials depending on the secretary running the
macro. In addition the signature prompts for Enclosures, etc. Here's my
code below.
Selection.TypeText Text:=vbTab & vbTab & "Sincerely,"
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeText Text:=vbTab & vbTab & "John Doe"
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeText Text:="JD/"
Selection.Fields.add Range:=Selection.Range, Type:=wdFieldEmpty, Text:= _
"FILLIN ""Secretary's initials""", PreserveFormatting:=True
Selection.TypeParagraph
Selection.Fields.add Range:=Selection.Range, Type:=wdFieldEmpty, Text:= _
"FILLIN ""*Enclosure(s) or OK""", PreserveFormatting:=True
Selection.HomeKey Unit:=wdStory
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.ParagraphFormat.TabStops(InchesToPoints(0)).Position = _
InchesToPoints(5.08)
With Selection.ParagraphFormat
.LeftIndent = InchesToPoints(5)
.SpaceBeforeAuto = False
.SpaceAfterAuto = False
End With
With Selection.ParagraphFormat
.RightIndent = InchesToPoints(-0.5)
.SpaceBeforeAuto = False
.SpaceAfterAuto = False
End With
Selection.Font.Name = "BankGothic Md BT"
Selection.Font.Size = 7
Selection.TypeParagraph
Selection.TypeText Text:="John Doe"
With Selection.ParagraphFormat
.LeftIndent = InchesToPoints(5)
.RightIndent = InchesToPoints(-0.5)
.SpaceBefore = 0
.SpaceBeforeAuto = False
.SpaceAfter = 0
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpace1pt5
.Alignment = wdAlignParagraphLeft
.WidowControl = True
.Hyphenation = True
.FirstLineIndent = InchesToPoints(0)
.OutlineLevel = wdOutlineLevelBodyText
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 0
.LineUnitBefore = 0
.LineUnitAfter = 0
End With
Selection.TypeParagraph
Selection.TypeText Text:="Doe Management Corporation"
With Selection.ParagraphFormat
.LeftIndent = InchesToPoints(5)
.RightIndent = InchesToPoints(-0.5)
.SpaceBefore = 0
.SpaceBeforeAuto = False
.SpaceAfter = 0
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpaceSingle
.Alignment = wdAlignParagraphLeft
.WidowControl = True
.Hyphenation = True
.FirstLineIndent = InchesToPoints(0)
.OutlineLevel = wdOutlineLevelBodyText
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 0
.LineUnitBefore = 0
.LineUnitAfter = 0
End With
Selection.TypeParagraph
Selection.TypeText Text:="100 NORTH MAIN"
Selection.TypeParagraph
Selection.TypeText Text:="COLLINSVILLE, ILLINOIS 62234"
With Selection.ParagraphFormat
.LeftIndent = InchesToPoints(5)
.RightIndent = InchesToPoints(-0.5)
.SpaceBefore = 0
.SpaceBeforeAuto = False
.SpaceAfter = 0
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpace1pt5
.Alignment = wdAlignParagraphLeft
.WidowControl = True
.Hyphenation = True
.FirstLineIndent = InchesToPoints(0)
.OutlineLevel = wdOutlineLevelBodyText
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 0
.LineUnitBefore = 0
.LineUnitAfter = 0
End With
Selection.TypeParagraph
Selection.TypeText Text:="(814) 445-1234"
Selection.TypeParagraph
Selection.TypeText Text:=
[email protected]"
Selection.TypeParagraph
Selection.TypeText Text:="DOE.COM"
ActiveWindow.ActivePane.View.ShowAll = Not ActiveWindow.ActivePane.View. _
ShowAll
Selection.MoveRight Unit:=wdCharacter, Count:=1
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.HomeKey Unit:=wdStory
End Sub
If I use the Application.Run method how do I get it to prompt for the
attorney's initials so it can run the right macro?
You help is so greatly appreciated.
LDMueller