Paul,
This should do what you're after:-
Private Sub UserForm_Activate()
t = Timer
Do
DoEvents
Loop Until Timer = t + 10
Me.Hide
End Sub
Hi Paul
I'm guessing you are wanting to create a splash screen on opening of your Workbook. If so:
1. Right click on the sheet picture , top left next to "File" and select "View Code". Paste in this:
Private Sub Workbook_Open()
Run "ShowForm"
End Sub
Then in a normal module place these:
Sub CloseForm()
Unload UserForm1
End Sub
Sub CloseForm()
Application.OnTime Now + TimeValue("00:00:10"), "CloseForm"
UserForm1.Show
End Sub
Dave
OzGrid Business Applications