ADD-in for word

S

satish

Hi,

I want to write a Add-in for MS Word which will add a button to
commandbar. Once the user clicks the button it should close the MS word afer
saving the contents.

Which language is the best to write a Add-in to VC++ or VB. Right now Im
able to add a button to command bar using both the languages. But IM clue
less about how to close it. when the button is clicked. Is it possible.



Reagrds
Satish
 
J

Jonathan West

Hi Satish,

The simplest approach is to write this in VBA, andto have the template in
which it is written stored in the user's startup folder. The key command you
need to look at is Application.Quit.
 
M

Michael

vc++ ATL is very good for this situation.
you can use vc++ 6.0, and create a ATL Com Project!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top