Thread: VBA Word
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Scottmk[_14_] Scottmk[_14_] is offline
external usenet poster
 
Posts: 1
Default VBA Word

Hi, This is from a userform that I have in word, but I don't think th
problem is really related to word as much as it is with how the cod
reads:

With ActiveDocument
.Bookmarks("Text1").Range_
.InsertBefore Textbox1
.Bookmarks("Text2").Range_
.InsertBefore Textbox2
End With

Userform1.Hide

(The Beginning and the ends are there as well, I just didn't typ
them)

I am trying to create a Userform for a document template. I woul
really appreciate it if someone could go t
http://word.mvps.org/FAQs/Userforms/...ormContent.htm
This only took me <5 minutes to go through their tutorial, but
couldn't get it to work. It didn't like the .Range_ part.
Thanks,
Scot

--
Message posted from http://www.ExcelForum.com