I don't know of a way to assign a mask to many cells in one shot like
you suggest, but you can do it by putting this in the listbox's
CellGotFocus event:
Me.ActiveCell.Mask="(###) ###-####"
If you want the mask only in a specific column, you could do this in
the CellGotFocus event:
If Column=3 Then
Me.ActiveCell.Mask="(###) ###-####"
End If
Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com
Is it possible to set a column in a listbox with mask? I have a
listbox that I have set the 2nd column to editable and would like to
have it have a mask so that when it is doubleclicked to edit it a
mask property is used.
Can this be done...if so how??
Thanks a ton!!
Wade
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>