Computing.Net > Forums > Office Software > Word Add-in

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Word Add-in

Reply to Message Icon

Name: GavinR
Date: June 2, 2009 at 04:05:40 Pacific
OS: Windows Vista
Product: Hewlett-packard / Ml115
Subcategory: Microsoft Office
Comment:

Hi,

In the past i have created many Add-ins in Excel, and have configured them to Create a toolbar when installed.

This code works for Excel:
-------------------------------------------
Private Sub Workbook_AddinInstall()

Blah Blah Blah 'code to create a new toolbar

End Sub
-------------------------------------------


I now need to perform the same function in word, but am unsure what the install sub needs to be called so it is automatically executed.
Does anyone know what the equivalent code is for Word VBA.



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: June 2, 2009 at 06:17:23 Pacific
Reply:

Try this link...

http://tinyurl.com/knrdru

My first hit had links for creating Word add-ins, loading add-ins on start-up and running code when an add-in is loaded.

Good luck!


0

Response Number 2
Name: GavinR
Date: June 2, 2009 at 07:15:12 Pacific
Reply:

Thanks for the prompt response.

I have looked on the MSDN website, but they are for slightly different scenario's.

usiong the Autoexec() event will trigger the code to run everytime Word is opened with the add-in attached.

I'm looking for an event that only triggers when the add-in is first installed. As mentioned in my first post, workbook_Addininstall() does the trick for any excel add-in. I cannot find an equivalent for MS Word.

Thanks though.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Word Add-in

creating add-in in .net www.computing.net/answers/office/creating-addin-in-net/3711.html

Outlook add-in or Exchange add-in www.computing.net/answers/office/outlook-addin-or-exchange-addin/3503.html

PowerPoint AddIn (Add In) www.computing.net/answers/office/powerpoint-addin-add-in-/3645.html