Results 1 to 2 of 2

Thread: Creating Office Macro Programmatically

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    Texas
    Posts
    37
    I have written a DLL using VB that I want to call from a menu item in Word, Excel and Outlook.

    I want to create a setup program that will update these Office products with a custom macro and menu item that will launch my Dll.

    I can do this manually in Word by writing a macro (using the VB editor), adding a reference to my DLL and then adding a menu item that references the macro. The macro passes the name of the active document (path and file name) to my DLL.

    Any help (including the URL of other web sites or titles of books that deal with this) would be greatly appreciated.

    Thanks.

    Rusty
    If at first you don't succeed...

  2. #2
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Leavenworth KS USA
    Posts
    482
    This site may help: http://edc.bizhosting.com/english/index.htm

    Look under "VBA Part 2, VBE"

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