Timed Userforms

Drmwvr7266

Board Regular
Joined
Apr 7, 2002
Messages
164
Hi Y'all. Great website. Very informative. Quick question: How do I get a userform to appear at startup of a particular worksheet, and then shut itself off? (Using it simply as an introduction) Also, is there a way to eliminate the top banner of the userform, thus eliminating the X in the right corner, and/or replacing it with min/ max buttons instead?
Been searching and haven't found the answer here yet. Thanx in advance for the help!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi
For your first question...

Private Sub UserForm_Activate()
Dim Start
Start = Timer + 2
Do While Timer< Start
DoEvents
Loop
Unload Me
End Sub

Will display the form for 2 seconds and will then unload the userform...

Tom

Didn't mean to over post you Mark...
This message was edited by TsTom on 2002-04-25 13:19
 
Upvote 0
Thanx for the help. I managed to make something up on the timed event. But I am going to try yours, Tom.
As for the min/max, that may be a bit much for me to digest just yet. Thanx all.
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,824
Members
449,050
Latest member
Bradel

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