Hi dear all,
I tested "Activesheet.DTPicker1.Value", and it returned a value "7/5/2011". But when I run the code below, the displayed value in cell G5 is 7.5.2011. How come? And I tried to change its data type in Home->Number, still can't have it to display as 7/5/2011. How can I format the displayed value? Why the displayed value format is different from the actual value format??
Yours sincerely,
lolo^-^
I tested "Activesheet.DTPicker1.Value", and it returned a value "7/5/2011". But when I run the code below, the displayed value in cell G5 is 7.5.2011. How come? And I tried to change its data type in Home->Number, still can't have it to display as 7/5/2011. How can I format the displayed value? Why the displayed value format is different from the actual value format??
Code:
Activesheet.Range("G5").Value = Activesheet.DTPicker1.Value
Yours sincerely,
lolo^-^