Trueblue862
Board Regular
- Joined
- May 24, 2020
- Messages
- 160
- Office Version
- 365
- Platform
- Windows
Hi, I have a Userform with a Combobox which gets its values, a list of dates, from a spreadsheet. I would like to initialise the Userform with the Combobox set to today’s date. I’m using the code below to attempt to achieve this, but it seems to be getting cut off as it enters the first digit into the Combobox, by the Combobox change event which populates a number of TextBoxes dependant on the value in the Combobox. What would be the best way to go about solving this problem? Any help would be appreciated.
VBA Code:
cbxDate.Value=Format(Date,"d/m/yyyy")