Disables The Close Button At The Beginning Of The Userform (userform Does Not Close When Multiplied) Online Excel and Excel Macro (VBA) Courses Copy Macro 'For online Excel courses click: https://www.excelsizeyeter.com/excelwithkenan.com/udemy_giris.php Açıklama: UserFormun başındaki kapat butonunu pasif yapar (çarpıya basınca userform kapanmaz) Kod: Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then Cancel = True End Sub Bu da UserFormun çarpı işaretine tıklayınca Mesaj kutusuyla uyarı veriyor Kod: Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then MsgBox "çarpıdan kapatmak yasaktır!" Cancel = True End If End Sub Report problem with this macro This macro does not work. There's an error in the code. Other You can write your comments about the error in the box below. Report error ALL MACROS Youtube Channel The following macros may be useful for you. Similar Results NoMacro Name 1 Disables the close button at the beginning of the userform (userform does not close when multiplied) 2 Deactivates the close button at the beginning of the userform (multiply the userform does not close) 3 excel operators hk 4 dictionary codes 5 Create a user-defined menu / Create your own menu and assign a macro to them in the "Extensions" section 6 forms do not allow x to exit 7 userform 6) deactivate the close button at the beginning of the userform 8 add username and password 9 calculator on / off 10 Add menu to file edit bar delete 11 printing and prompting 12 encrypted login with userbox in textbox 13 backup 14 do not open excel file after a certain date 15 close one form and open another 16 closed c: est.xls file will be opened and saved after c: userform1.frm is added 17 deleting the menu bar and creating a custom menu 18 closing userform with alt + f4 is forbidden 19 book opening macro by date (does not open the book if the specified date has passed) 20 userform perfect opening effect