Microsoft treeview control, Library Not Registered.
I am trying to us the Microsoft treeview control, verion 6 when i add the control on my userform I get the error Library Not Registered. How can I eliminate this?
Try re-registering the control file. Close Excel and go to the Windows Start menu and choose Run. There, enter
RegSvr32 C:\Windows\SysWOW64\MSCOMCTL.OCX /u
and click OK.
The /u suffix (note the space before / character) is short for "unregister" that will remove the control's information from the Registry. Next, register the control to get it back.
RegSvr32 C:\Windows\SysWOW64\MSCOMCTL.OCX
and click OK.
If you get a "file not found" error from RegSvr32, change "SysWOW64" to "System32" in the run commands. "SysWOW64" is for 64-bit machines. "System32" is for 32-bit machines.
Now you should be able to add it to the VBA UserForm toolbox by clicking "Additional Controls" and scrolling down to Microsoft TreeView Control Verison 6.