How to use command buttons on a splash screen in MS-Excel
How can I create buttons on a splash screen that take you to another sheet in the workbook? When I reach the next worksheet I do not wish to see the column and row header numbers and the horizontal and vertical scrollbars. How do I achieve this? How can I exit the workbook with a single click?
We use two command buttons with the following VBA code to solve this problem:
Private Sub CommandButton1_Click()
.DisplayHeadings = False
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
Private Sub CommandButton2_Click()
‘if you don’t wish to receive a message to save the file use the code below
You can also rename the command buttons appropriately by right-clicking on them and edting their properties.
Watch the video below to see how to use command buttons on a splash screen in MS-Excel