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. #1
    VBAX Contributor PaSha's Avatar
    Joined
    Nov 2007
    Location
    Slovenia
    Posts
    104
    Location

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

    i have one more question ...

    in the code of the button i have
    UserForm1.Show
    so the form shows up and executes it...

    but after the i would plant this code:
    Range("i7").Value = Range("i7").Value +1
    but this peace of code should only perform if in the userform the button ok was clicked...if it was cancel or exit then not...

    how could i do this ??

    hope i don't bother to much with this ..
    Last edited by Aussiebear; 06-21-2025 at 03:13 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
  •