Return To Form When Preview Closes From Userform 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 CommandButton1_Click() UserForm1.Hide Worksheets("sayfa1").PrintPreview Worksheets("sayfa1").PageSetup.PrintArea = "" Application.Visible = False UserForm1.Show 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 Return to form when preview closes from userform 2 excel operators hk 3 return to userforma when you close print preview 2 4 return userforma when you close print preview 5 image preview in userform 6 delete the selected cell from the listbox. 7 delete from listbox with double click 8 dialog box without userform 9 find-delete-change-save codes2 10 Use the esc key to 11 deleting selected row in listbox 12 limit the number of characters to be entered in a text box on any form 13 Paste into code section of userform 14 a .bat file from a floppy disk 15 informs which button is pressed (commandbutton) 16 userforma save as key 17 add save key to userforma 18 Selects the row containing the cell in the listbox by double-clicking it and the form closes 19 block some sheet / pages from being listed 20 Closing userform with esc