VBA commands to an add-in? 
Author Message
 VBA commands to an add-in?

How can I send VBA macro commands to a Word add-in?  We're printing to a
special print driver that has a dialog box that appears ~after~ Word's
Print dialog, and I want to send text to a control on this dialog.  Any
ideas?  Thanks.


Sun, 27 Mar 2005 02:44:46 GMT  
 VBA commands to an add-in?
Add-ins work the same as other code modules: you can call their public
functions using

[addin name].[modulename].[Functionname]

But you won't be able to access form controls in the add-in unless the
add-in form was written to allow that. If all else fails you might be able
to do it using SendKeys.


Quote:
> How can I send VBA macro commands to a Word add-in?  We're printing to a
> special print driver that has a dialog box that appears ~after~ Word's
> Print dialog, and I want to send text to a control on this dialog.  Any
> ideas?  Thanks.



Sun, 27 Mar 2005 07:21:32 GMT  
 VBA commands to an add-in?
Thanks.  Any chance you can point me to someplace on the web or
elsewhere where I could get a few pointers about doing this?


Quote:
> Add-ins work the same as other code modules: you can call their public
> functions using

> [addin name].[modulename].[Functionname]

> But you won't be able to access form controls in the add-in unless the
> add-in form was written to allow that. If all else fails you might be able
> to do it using SendKeys.



> > How can I send VBA macro commands to a Word add-in?  We're printing to a
> > special print driver that has a dialog box that appears ~after~ Word's
> > Print dialog, and I want to send text to a control on this dialog.  Any
> > ideas?  Thanks.



Mon, 28 Mar 2005 01:00:50 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VBA - Command Bars - Adding To!

2. Adding VBA function to Visio's VBA Editor from ActiveX DLL

3. Running excel add-in (added into excel - not access) in Access VBA

4. VBA code adding 6 blank lines after adding pragraphs - Word 97

5. Form properties not changing in response to VBA commands

6. run menubar command from VBA

7. Open & Print commands in VBA

8. VBA module - pass prompt values in OpenRecordset command

9. VBA - RunSQL Command

10. Need VBA command to Save Current Database

11. VBA command to Wait?

12. A question about command buttons and vba / error handling

 

 
Powered by phpBB® Forum Software