HighAndWilder
Active Member
- Joined
- Nov 4, 2006
- Messages
- 392
- Office Version
- 365
- Platform
- Windows
Hi All.
I have a cell with a number format of DD/MM/YYYY HH:MM.
I want to be able to ascertain this in VBA.
Using the following returns m/d/yyyy h:mm.
strFormat = range("A1").NumberFormat
I need the exact format to format text in a Userform listbox.
How can this be achieved?
Thanks
I have a cell with a number format of DD/MM/YYYY HH:MM.
I want to be able to ascertain this in VBA.
Using the following returns m/d/yyyy h:mm.
strFormat = range("A1").NumberFormat
I need the exact format to format text in a Userform listbox.
How can this be achieved?
Thanks