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 ??