+ Reply to Thread
Results 1 to 2 of 2

Reseting controls

  1. #1
    Registered User
    Join Date
    08-25-2004
    Posts
    15

    Reseting controls

    How can I reset all (only) textboxes from a form?

  2. #2
    Registered User
    Join Date
    08-25-2004
    Posts
    15
    I found out:


    Dim ctl As Control

    For Each ctl In Controls
    If TypeOf ctl Is MSForms.TextBox Then
    ctl.Object.Text = ""
    End If
    Next ctl

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1