What is MSCOMCT2.OCX File in Excel?
The MSCOMCT.OCX file belongs to the window additional control libraries for control in Visual Basic For Application (VBA) which is stored in the folder of “C” drive at your computer or laptop.
What is Important of MSCOMCT2.OCS File?
As you can see on the above screenshot, If the file is not installed at the location and missing you may get an error in the application function that may not work properly.
While you are working with the date picker and found the missing file in the libraries in that case you have to install the file on your computer.
How to Fix The Problem?
The following steps are for installing and registering the MSCOMCT2.OCX file.
- Download Microsoft MSCOMCT2.OCX file from the link blow.
- Unzip the folder and paste it into the given path below.
Location: C:WindowsSysWOW64
3. Go to Search and type cmd in the search box and right-click on Command Prompt App and Run as administrator as shown below.
4. Once you have clicked on Command Prompt App the window should be open as shown below.
5. Type regsvr32 “C:WindowsSysWOW64mscomct2.ocx” and press the enter.
6. Once you have finished the above steps, you will get a popup message as shown below then click on the OK button.
7. Once you have finished all the steps mentioned above, you will see the missing file is available as shown below.
Conclusion
Finally, I hope you will be able to fix the date picker issue. If you are getting the same error after following the above steps, you can comment to me in the below comment box. I will be happy to answer your questions. Thank you!