Assign A Macro To The F9 Key Online Excel and Excel Macro (VBA) Courses Copy Macro 'For online Excel courses click: https://www.excelsizeyeter.com/excelwithkenan.com/udemy_giris.php Sub Auto_Open() Application.OnKey "{F9}", "macro" End Sub Sub macro() MsgBox "aaa F9 tuşuna bastın" 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 Assign a macro to the f9 key 2 Assigning macros to the f9 key 3 excel operators hk 4 assign a macro to a cell 5 Codes that prevent and open the vba window and access codes 6 assign protection to sheet / page tabs 7 Assign another command to the right mouse button 8 Create a user-defined menu / Create your own menu and assign a macro to them in the "Extensions" section 9 Let calculations from column a to column g (except g) calculate other open columns by pressing the button 10 Assign a value to the cell at the specified distance from the active cell. 11 assigns date to the next line when data is entered in certain cells on the sheet / page 12 Assigning random numbers as a value to cells in the selected region 13 record on multiple sheet / pages with the same macro 14 Lock the book. speak read - only read - only. hides macros 15 Give the macro path to the combobox tryit without userform 16 assigning a macro in the message box yes no 17 Permission to enter numbers only in the Textbox 18 friends textbox enter the text by pressing the enter key Im doing a carriage return. but after each enter, I see that what can I do to prevent these squares that have formed [] frames in the cell 19 sorts data and finds name 20 sorts data and finds name