Hi all,
I saw someone using the following code in a keypress event:
Who knows why the & "" is being used?
Thanks.
I saw someone using the following code in a keypress event:
Code:
Dim C As Control
Set C = Screen.ActiveControl
' Fetch length of current contents + 1 for the character typed.
Dim CLen As Integer: CLen = Len(C.Text & "") + 1
Who knows why the & "" is being used?
Thanks.