![]() In the Save As dialog box, please specify a folder where you need to save the workbook, name it in the File name box as you need, and select Excel Macro-Enabled Workbook option from the Save as Type drop-down list, and finally click the Save button. Then press the Alt + Q keys simultaneously to close the Microsoft Visual Basic for Applications window.Ĥ. VBA code: Disable right click on sheet tab in Excel Private Sub Workbook_BeforeClose(Cancel As Boolean)Īpplication.CommandBars("Ply").Enabled = TrueĪpplication.CommandBars("Ply").Enabled = Falseģ. In the Microsoft Visual Basic for Applications window, double click ThisWorkbook on the left Project pane, then copy and paste the following VBA code into the ThisWorkbook (Code) window. In the workbook you need to disable the right-click function on sheet tab, press the Alt + F11 keys simultaneously to open the Microsoft Visual Basic for Applications window.Ģ. The following VBA script can help you to disable the right-click menu on sheet tab in Excel. Amazing! Using Efficient Tabs in Excel Like Chrome, Firefox and Safari! Save 50% of your time, and reduce thousands of mouse clicks for you every day!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |