ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   COM in VB Excel (https://www.excelbanter.com/excel-programming/272863-re-com-vbulletin-excel.html)

Rob Bovey

COM in VB Excel
 
"Duncan Winn" wrote in message
...
How do you register a stand alone COM object in a VB macro?


Assuming that you're talking about a COM EXE, you need to shell out to the
command-line and use that component's built-in registration facilities.
Here's the general syntax:

Shell "C:\SomePath\MyComponent.exe /Regserver", vbHide

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *





All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com