Color Change When The Textbox Object İs Selected With The Tab Key Or Mouse Online Excel and Excel Macro (VBA) Courses Copy Macro 'For online Excel courses click: https://www.excelsizeyeter.com/excelwithkenan.com/udemy_giris.php Private Sub TextBox1_Enter() TextBox1.BackColor = vbYellow End Sub Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean) TextBox1.BackColor = vbWhite 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 Color change when the textbox object is selected with the tab key or mouse 2 excel operators hk 3 Entering the data in the listbox (ie without mouse) 4 selected cells are colored 5 print command in workbook 6 select cell values with auto-color in specific table 7 collects selected fields in status bar 8 give background color by number on active sheet / page 9 color change when I come to the buttons with the mouse 10 change properties of multiple textboxes 11 the selected cell in the entire book is colored yellow 12 watermark printing (faded font on sheet / page background) 13 convert double and single lines into different colors and designs (one line is bold and the other line is normal) 14 Calculate the sum of cells with only a certain cell color 15 Search for a word in 30 excel files 16 Can the characters typed in the inputbox appear as "*****" (password or password characters)? 17 get total in status bar (collects selected with mouse) 18 Highlight Specific Text: Suppose you have a large data set and want to control a specific value. You can use this code for this. When you run, you receive an input box to enter the value to search for. 19 Blinking effect when you type x in cell a1 20 Coloring the inside of the textbox with the mouse