Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

I've just added

 

form.Close() to the deactivate sub, this works. Kind of obvious. Thanks though!