View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Bovey Rob Bovey is offline
external usenet poster
 
Posts: 811
Default 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 *