Hi Robert,
> How do you fix something that was working before? There are
> no logical explanation for it!!
Backups. :)
> .Text = Format(IIf(IsDate(sText), sText, Now), .Format)
Try switching that into two lines. Immediate If statements are a
little hokey and often come with some rather annoying problems:
If (IsDate(sText)) Then
.Text = Format(CDate(sText), .Format)
Else
.Text = Format(Now, .Format)
End If
Regards,
Shawn K. Hall
http://12PointDesign.com/
http://ReliableAnswers.com/
'// ========================================================
Madness takes its toll; please have exact change.
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [email protected]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/