Private Sub CommandButton1_Click()
With ActiveDocument
.Bookmarks("Text1").Range_
.InsertBefore TextBox1
.Bookmarks("Text2").Range_
.InsertBefore TextBox2
End With
UserForm1.Hide
End Sub
Why am i getting this error? Method or Data Memeber not found
Also I need to create a drop down that will have 4 choices, upon these four
choices i need to populate an address in the letter? Should I code the addys
in code or external data source??? Please Help and thanks!
"Graham Mayor" wrote:
You need a userform to select the information and insert it in the
document - see Word MVP FAQ - Userforms
http://word.mvps.org/FAQs/Userforms.htm and
http://gregmaxey.mvps.org/Repeating_Data.htm . You may also find
http://www.gmayor.com/Macrobutton.htm a useful alternative.
--
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
Kenny wrote:
I am trying to create a form letter. I have two issues. This needs to
work in 2003 and 2007. Dont want to use mail merge.
1. I want to be able to enter some information at the top of the
document and it to fill in diffrent spots in the letter such as name
etc
2. I want to create a drop down box that based upon four choices It
will populate a text box or something with four diffrent addresses?
Please Help