! With Statement !

  • Thread starter Thread starter Wembly
  • Start date Start date
W

Wembly

Hi,

I was wondering if the following can be done?



With currentForm
!currentControl = Format(Me.acxCalendar, "Short Date")
End With
 
Wembly said:
Hi,

I was wondering if the following can be done?



With currentForm
!currentControl = Format(Me.acxCalendar, "Short Date")
End With

What do you mean by "currentForm" and "currentControl"? If you mean the
form and control that currently have the focus, you could write the same
thing with

Screen.ActiveControl = Format(Me.acxCalendar, "Short Date")
 
Back
Top