How to Create an Excel Splash Screen

In today’s world everyone loves splash screen appearing on the screen for few seconds as they open any file. Most of the people are unaware about splash screen. The viewer will surely get impressed.

We need to follow the below steps:

  • Click on Developer tab
  • From Code group select Visual Basic

image 1

 

  • Click on Insert then UserForm

image 2

 

  • The User form will get open
  • From Toolbox; select Label & draw in the User form

image 3

 

image 4

  • Rename the label box to “My Splash Screen”

image 5

 

  • To increase the size of the font
  • Click on Label box & right click select Properties

image 6

 

  • From Properties window; select Font & click three dots

image 7

  • The Font dialog box will get open

image 8

 

  • Select the font the way you want & increase the size to 20 or so to make it bigger

image 9

 

  • The next step is to insert Image
  • From Toolbox select Image & draw a bit bigger

image 10

image 11

 

  • Right click on Image & select Properties
  • Click on three dots in Picture menu in Properties

image 12

 

  • Select the path where the picture is saved

image 13

 

  • This is how the Userform looks now

image 14

 

  • Double-click on This Workbook in Project pane

image 15

 

Enter the following code in VBE:-

Private Sub Workbook_Open()

UserForm1.Show

End Sub

 

image 16

 

  • To initialize the user form; double click on the user form other than label or image
  • The following coding will appear

image 17

 

Replace the above code with the following code:-

Private Sub UserForm_Activate()

Application.OnTime Now + TimeValue("00:00:05"), "Quitform"

End Sub

image 18

  • Now, we need to add code to Quit form that we have assigned to User form to get activated after 5 seconds.
  • Click on Insert then Module

image 19

 

  • This will create new module.
  • Enter the following code in the Module

 

image 20

 

  • Save the file & then open it.

image 21

By following this way we can create Splash Screen in Microsoft Excel through VBA.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.