Results 1 to 2 of 2

Thread: calling VBA subroutine from within VB

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Posts
    17

    Unhappy

    HOW?

    I know I've seen it somewhere.....

    I want to call a public subroutine defined within a template in Word VBA from VB app..... please help.

    Email me if you wish.

    [email protected]

  2. #2
    Hyperactive Member billwagnon's Avatar
    Join Date
    Jul 1999
    Location
    St. Louis, Missouri, Mississippi Valley
    Posts
    290
    I don't have the code in front of me - but this should get you started.

    Reference Word as an object in your VB project. Open or create the Word object. Open the template. Run the VBA subroutine.

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