@
Dan_W
Thanks for responding.
Did you check at this location too? C:\Program Files\Microsoft Office\root\vfs\System\MSCOMCTL.OCX
There is no`such
root\vfs sub folder in my Microsoft Office path.
BTW, I did mange to download a copy of the MSCOMCTL.OCX 32bit file from
here . After that, I saved this 32bit ocx file in the SYSWOW64 directory and then successfully registered it from the command prompt ran as Admin.
Then back in excel, I could locate the OCX from Tools|References and add a ref to it for the workbook VBAProject.
Bringing up the Object Browser (F2), I can see that the
MSComctlLib library is now properly referenced in the VBAProject:
So far so good.
Now comes the very annoying problem.
When I proceed to adding any of the OCX controls such as the TreeView, ListView etc to a UserForm at design time via the UserForm
ToolBox|Additional Controls, none of the ocx controls are listed on the list of available controls:
So, I can't add any controls from the mscomctl.ocx @
designtime which makes it next to useless (although I could still use the library and add controls @
runtime via code).
I have seen people report the same issue of not finding additional controls and have read some workarounds such as loging as a diff user account or importing the added controls from a diff computer but that's just too much hassle. I just hope there is an easier fix to this problem.
Regards.
PS: BTW, the OCX file is still 32bit , so MS haven't really released a x64bit version. I may be wrong, but the 32bit OCX works only because it is installed in the SYSWOW64 directory.