Results 1 to 3 of 3

Thread: userform - help needed

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Administrator VBAX Master georgiboy's Avatar
    Joined
    Mar 2008
    Location
    Kent, England
    Posts
    1,302
    Location
    Hi Elane, welcome to the forum.

    Try as below:
    Dim i As Integer    
    For i = 1 To 3
        UserForm1.Controls("CheckBox" & i).Value = False
    Next i
    UserForm1.Show
    Unless your checkbox's are named 'CheckBoxA', 'CheckBoxB' etc.?
    Last edited by Aussiebear; 05-16-2025 at 03:25 AM.
    Click here for a guide on how to add code tags
    Click here for a guide on how to mark a thread as solved
    Click here for a guide on how to upload a file with your post

    Excel 365, Version 2408, Build 17928.20080

Posting Permissions

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