splash screen

joacro

Board Regular
Joined
Jun 24, 2010
Messages
158
Hi there,

Hope someone can help.

I need to create a splash screen that will open on start up of workbook.

This splash screen is merely to remind the user to enable macros

What i want to do on this splash screen is provide a different quote everytime it opens

ex: Reach for the stars
Keep going etc

This should change everytime a user opens the work book.

Thanx in advance
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Try this:
Code:
Private Sub Workbook_Open()
nn = CInt(Int((5 * Rnd()) + 1))
Select Case nn
Case Is = 1
MsgBox ("Reach for the stars")
Case Is = 2
MsgBox ("Keep going")
Case Is = 3
MsgBox ("xxxxxxxx")
Case Is = 4
MsgBox ("yyyyyy")
Case Is = 5
MsgBox ("zzzzzzzzzzz")
End Select
End Sub
Put this codes in VBA editor in Workbook module
 
Upvote 0
Be aware that if the User has not enabled macros, the splash screen will not show when the workbook opens!
 
Upvote 0
Hi there joacro,

I found this in the last few days.

http://www.mrexcel.com/forum/showthread.php?t=109769

The method appears common, but in post #13 there is a link to another page, where you will find an example for download. The site and the comments in the code explain it well.

There is even an option to change the type of hidden sheet (Hidden vs. VeryHidden).

I'd say it is exactly what you are after and is worth having a play with to really see how it works.

Good luck and regards,
ASM
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,985
Members
452,540
Latest member
haasro02

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top