ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   register any "mscal.ocx" using vba (https://www.excelbanter.com/excel-programming/339998-register-any-mscal-ocx-using-vba.html)

tom taol

register any "mscal.ocx" using vba
 
instead of, Windows Start menu, choose Run, RegSvr32 ~~~~~

is it possible automation register using vba(excel macro)?





*** Sent via Developersdex http://www.developersdex.com ***

Robin Hammond[_2_]

register any "mscal.ocx" using vba
 
Tom,

Somethine like this. You'll need to change the path to the file.

lRegSvrReturn = Shell("regsvr32.exe /s C:\Windows\System32\mscal.ocx")

Robin Hammond
www.enhanceddatasystems.com

"tom taol" wrote in message
...
instead of, Windows Start menu, choose Run, RegSvr32 ~~~~~

is it possible automation register using vba(excel macro)?





*** Sent via Developersdex http://www.developersdex.com ***





All times are GMT +1. The time now is 08:57 PM.

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