Results 1 to 4 of 4

Thread: Running a VB application in MS Word

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2009
    Posts
    2

    Running a VB application in MS Word

    Please provide me the code to run a VB application in Microsoft Word

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Running a VB application in MS Word

    great!!!!
    code to run what vb application??
    what do you actually want to do?? run some other program or automate some part of word, if the latter try recording a macro first
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2009
    Posts
    2

    Re: Running a VB application in MS Word

    I am writing some VBA code within MS word. I want to run that code when i click a button from MS word. How will i achieve ?

  4. #4
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: Running a VB application in MS Word

    are you using Forms (as in a form that pops up) ? or do you just want to put a button in the middle of a document or do you want to use a toolbar ?
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



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