Dear Sir,
In userform's Textbox2 value is 15-06-1950
Could I know the type of data in textbox2, i.e integer,string,date etc.
Please help
Dear Sir,
In userform's Textbox2 value is 15-06-1950
Could I know the type of data in textbox2, i.e integer,string,date etc.
Please help
Try isdate
http://msdn2.microsoft.com/en-us/lib...k9(VS.80).aspx
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
A TextBox's value is always a string.
is a way to find out the type of a variable or object.![]()
MsgBox TypeName(Userform1.TextBox1) & vbCrLf _ & TypeName(Userform1.TextBox1.Value)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks