|
-
Feb 25th, 2008, 10:25 AM
#1
Thread Starter
Fanatic Member
disable controls
Hi
I have this code in vba which I would Like to use to disable all textbox controls
on my form but it does not work...can anyone help?
Set frmcurrent = Form_frm_EditQuotes
For Each ctlContol In frmcurrent.Controls
If frmcurrent.Controls = acTextBox Then
Form_frm_EditQuotes.AllowEdits = False
End If
Next
thanks
** HOLLY ** 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|