Normally, we used to have Date Picker for Microsoft Excel User Forms, in some cases we have to install it using two patch files from Microsoft. Here it explains how to do that.
Sep 19, 2017. Morning, I've just trying to install date and time picker for vba, my problem is, once I've followed the instructions from support website, windows don't let me paste the file mscomct2 into the folder. Move the ocx file to the program directory missing the file. If step 2 doesn't work. Move MSCOMCT2.OCX to the system directory. 114 rows Microsoft used the most current virus-detection software that was available on the date.
To Install Date Picker for Excel User Forms,
- Mscomct2 Cab Installed Posted on 3/1/2019 by admin Jul 02, 2016 Morning, I've just trying to install date and time picker for vba, my problem is, once I've followed the instructions from support website, windows don't let me paste the file mscomct2 into the folder.
- If you've encountered CAB files, here's how you can install CAB file in Windows 10. In case you don't know,.cab or cabinet is a simple file extension that is mainly used to compress files in a file library and store them. Typically, most developers including Microsoft use this file format for its efficient compression methods.
Follow the steps below:
Step1: we need to two files from Microsoft’s portal. follow this link : http://activex.microsoft.com/controls/vb6/MSCOMCT2.CAB to download those. [mscomct2 & mscomct2.ocx ] these are the files we need.
Step2 : Right Click on mscomct2 file and install it.
Step3: Then open Command Prompt as administrator. Once you are logged in as administrator you should run a command like below
regsvr32 mscomct2.ocx
this will install your Date Picker on your Microsoft Excel.
Spep4: Open up Excel go to Visual Basic Part
Open a User Form
Mscomct2 Ocx Download For Win 10
Right Click on the Tool Box and Pick Additional Settings.
From the pop up Select “Microsoft Date and Time Picker Control 6.0” and press OK.
You are done!.
Excel Guardian ( [email protected])
If you've attended one of our Excel VBA training courses you might remember using the Date and Time Picker control when building a user form.
An exciting shot of the Date and Time Picker in action. As its name suggests, it allows a user to pick a date and time value rather than having to type it in.
The Date and Time Picker is immensely useful when designing VBA user forms but, sadly, it isn't included with every version of Windows. I discovered this recently when moving to a new machine with a 64bit edition of Windows 7 installed. Fortunately, it is relatively simple to install the Date and Time Picker, as long as you don't mind getting your hands dirty with a couple of simple command line instructions.
Downloading the Files You'll Need
The Date and Time Picker is part of a library of tools with the catchy title of MSCOMCT2.OCX. To start with, you'll need to download this file from the Microsoft support site.
Click this link on the page to start downloading the file.
UPDATE: Sadly, Microsoft have since removed this file from their site. You can still download it from a variety of third-party sites which you can find with a brief bit of Googling. Fdok xt xn keygen torrent.
When you've clicked the link to start downloading the file, choose to save it somewhere on your computer.
Click the Save as option so that you can choose where to save the file.
On the next dialog box choose a location on your computer and then click Save to download the file.
Extracting the Downloaded File
Once it's finished downloading you'll need to extract the file. Start by double-clicking on the file that you've downloaded.
Double-click the .cab file to see what it contains.
Once inside the .cab file you can choose to extract the .ocx file by right-clicking on it and choosing Extract..
Right-click the file called mscomct2.ocx and choose to extract it.
Choose which folder you want to extract the file to and click Extract.
Select an existing folder, or create a new one, and then click Extract.
Copying the File to the Correct Folder
In order to make use of the file you've downloaded you'll need to place it in the correct folder for the edition of Windows that you're using. Start by opening a Windows Explorer window and browsing to the Windows installation folder. On my machine this is C:Windows.
The next folder you need to browse to depends on which edition of Windows you're using. If you're using a 32bit edition you'll need the System32 folder. If you're using a 64bit edition, like I am, you'll need SysWOW64.
Once you've navigated to the correct folder, simply move or copy the MSCOMCT2.OCX file into it.
The file now sits in the correct folder.
Registering the File
Before you can make use of the file you'll need to register it. You can do this using the command line tool in Windows. Go to the Start menu and in the search box type cmd.
Type cmd into the search box at the bottom of the Start menu. Daggerfall mac download.
Still in the Start menu, right-click on the cmd.exe item which appears and choose to run it as an adminstrator.
Right-click on the icon and choose Run as administrator.
At the command prompt make sure that the directory shown is the same as the one you copied the file into earlier.
If I was running a 32bit edition of Windows 7 this would be pointing to the correct folder.
If you need to change the directory you can do so using a command similar to the one shown below. Of course, you'll need to use the directory relevant to your own Windows installation.
Download Mscomct2 Windows 10
Press Enter at the end of the line to change the directory.
Once you've changed the directory you can write one final command to register the file on your machine.
For reference, the command is regsvr32 mscomct2.ocx
If everything works normally you should see a message similar to the one shown below:
Using the Date and Time Picker
You should now find that you can use the Date and Time Picker control in your VBA forms.
In the design view of a VBA form, right-click on the Toolbox and choose Additional Controls..
On the dialog box which appears, check the box next to the entry for the Microsoft Date and Time Picker Control 6.0.
You'll find that you have access to several other controls from the mscomct2.ocx library as well.