Results 1 to 12 of 12

Thread: in sheet if in the userform button ok was clicked perofm action if not then no...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    VBAX Contributor PaSha's Avatar
    Joined
    Nov 2007
    Location
    Slovenia
    Posts
    104
    Location
    is it posible to make it like so:

    userform1.show
    if userform1.commandbutton1 (was clicked) Then
        Range("?").Value = Range("?").Value + 1
        Unload userform1
    else
        exit sub
    end if


    something like this ... i tried everything but it didn't work maybe someone knows how it could work ??
    Last edited by Aussiebear; 06-21-2025 at 03:16 PM.
    I like to help others... but sometimes i also need help ...

Posting Permissions

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