DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Template and bookmarks!

  1. #1
    Kirsten Guest

    Template and bookmarks!


    Hey,

    I am in desperate need of some help for a job I am doing at the moment! In
    relative terms it sounds easy but I need sone help if anyone can help me
    out I will be very grateful! I have a userform that I want to pop-up when
    I open up my word template. Now I want the userform to ask a few questions
    to the user and the user is to type an input into the textbox and the input
    is then displayed on the word document. In regard to this I have asssigned
    my bookmarks using cross referencing in the word document to the textboxes
    in my userform. But I have no idea how to use vb to grab the information
    and send it to my specific bookmarks!

  2. #2
    willy van den Driessche Guest

    Re: Template and bookmarks!


    "Kirsten" <dazed_me@hotmail.com> wrote:
    >
    >Hey,
    >
    >I am in desperate need of some help for a job I am doing at the moment!

    In
    >relative terms it sounds easy but I need sone help if anyone can help me
    >out I will be very grateful! I have a userform that I want to pop-up when
    >I open up my word template. Now I want the userform to ask a few questions
    >to the user and the user is to type an input into the textbox and the input
    >is then displayed on the word document. In regard to this I have asssigned
    >my bookmarks using cross referencing in the word document to the textboxes
    >in my userform. But I have no idea how to use vb to grab the information
    >and send it to my specific bookmarks!


    Try
    ActiveDocument.Bookmarks("MyBookMark").Range.text = "my text"

    -Willy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center