Results 1 to 3 of 3

Thread: Display VB form in Word

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2005
    Posts
    1

    Question Display VB form in Word

    Hi all.

    After I've opened Word like this:

    VB Code:
    1. Dim wordApp as Word.Application
    2.  
    3. Set wordApp = New Word.Application
    4.  
    5. With wordApp.Application
    6.     .Documents.Open [I]Filename[/I]
    7.     .Visible = True
    8. End With

    I want to display a vb form containing a list of values that can be entered into the word document. The problem is that if I show a form after the code above, Word is being send to the background and my form is shown on top of my vb application.

    Also how can I make sure that this vb form stays on top if I relocate the cursor in Word?
    Last edited by Thei; Nov 8th, 2005 at 05:42 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width