combobox control

Jackeb

Board Regular
Joined
Mar 20, 2002
Messages
81
Quick question...

Where can I find out about displaying dates in comboboxes, the format changes everytime i use them, how do you control this? Is there a property of the box?

Cheers

Ed
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Use the Comboboxs change to change the
formating of the dates eg.

<pre/>
Private Sub ComboBox1_Change()
ComboBox1.Text = Format(ComboBox1.Text, "dd/mm/yyyy")
End Sub
</pre>
 
Upvote 0
I have tried this but it effects some other calculations, without having to rewrite my logic is there an easy way to solve this problem??

ed
 
Upvote 0
On 2002-04-15 01:17, Jackeb wrote:
I have tried this but it effects some other calculations, without having to rewrite my logic is there an easy way to solve this problem??

ed

Ed there is no property to control this.
What calculations are affected, as you can always change the text back to its original
serial date format for calculations eg.

CDate(ComboBox1.Text)
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,816
Members
449,049
Latest member
cybersurfer5000

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top