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.
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.
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.
Summary: I'm trying to create an add-in using .net(vb) for Word. It should create a button when beign pressed saves the open document as HTML and may be loads it into url. how can I do this? ...
Summary: Hi everybody, My company has a server running Microsoft Exchange. This server communicate with clients running Microsoft Outlook. My company needs an add-in which has the following functionality: "W...
Summary: Only solution that I have found is the following You must open powerpoint on every machine that is going to be using your add-in (not at the same time). Once its running select tools - add-ins and sel...