ActiveX controls

abbeville

New Member
Joined
Jul 28, 2007
Messages
2
Is it possible to add a activex control to vb References,Microsoft Windows common controls - 26.0 (SP4), File Type .OCX, automatically when the workbook is first opened? I read in a forum where Microsoft is no longer using this control but it seems I need it to format a Userform Textbox for a telephone number. The control is MSCOMCT2.OCX.
abbeville
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

BrianB

Well-known Member
Joined
Feb 17, 2003
Messages
8,127
It may appear in the list automatically if it is put with the other .OCX files, but it will still need to be registered using regservr32. Choices for this seem to be ... the folder containing excel.exe, \Office\ folder, \WINDOWS\System32.

May be able to do this latter job via SHELL().

Be interested to know how you get on. It does seem a relatively simple matter. :eek: :biggrin: :biggrin: :rolleyes:
 

abbeville

New Member
Joined
Jul 28, 2007
Messages
2
Activex Controls

Thanks for your quick response, BrianB:
I'll see what I can do with the information you gave me.
abbeville
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,357
Office Version
  1. 365
Platform
  1. Windows
Why do you need this control to format a textbox?
 

Forum statistics

Threads
1,181,373
Messages
5,929,571
Members
436,679
Latest member
helly123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top