Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default from userform to userform.

Dear all,
I am creating a excell-file in with a userform comes up after opening of the
file. Like a fash screen,so far so good. How can I close this first userform
and open a second userform inwith there are commandbuttons and textboxes?
I now how to open a second userform without these controls, thats no
problem.

Best regards,
Ad.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default from userform to userform.

Ad,

Use the OntIme method in the code that start the first form. Something like
this

Sub ShowForms()
Application.OnTime Now + TimeValue("00:00:05"), "CloseSplash"
UserForm1.Show

End Sub


Sub CloseSplash()
Unload UserForm1
UserForm2.Show
End Sub


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"ad klevering" wrote in message
...
Dear all,
I am creating a excell-file in with a userform comes up after opening of

the
file. Like a fash screen,so far so good. How can I close this first

userform
and open a second userform inwith there are commandbuttons and textboxes?
I now how to open a second userform without these controls, thats no
problem.

Best regards,
Ad.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default from userform to userform.

This worked with me when I added vbModeless after Userform1.show

Ko Vijn

Use the OntIme method in the code that start the first form. Something

like
this

Sub ShowForms()
Application.OnTime Now + TimeValue("00:00:05"), "CloseSplash"
UserForm1.Show

End Sub


Sub CloseSplash()
Unload UserForm1
UserForm2.Show
End Sub


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"ad klevering" wrote in message
...
Dear all,
I am creating a excell-file in with a userform comes up after opening of

the
file. Like a fash screen,so far so good. How can I close this first

userform
and open a second userform inwith there are commandbuttons and

textboxes?
I now how to open a second userform without these controls, thats no
problem.

Best regards,
Ad.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Userform Freshman Excel Worksheet Functions 4 November 9th 06 01:04 PM
Userform Add hazel Excel Discussion (Misc queries) 8 November 3rd 06 07:01 PM
userform billQ Excel Programming 3 November 19th 03 03:41 AM
UserForm help Pete[_13_] Excel Programming 5 November 12th 03 02:12 AM
UserForm Gabriel[_2_] Excel Programming 0 July 28th 03 04:40 PM


All times are GMT +1. The time now is 08:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"