![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I use a splash screen when a macro opens. Never had a problem with it. Now a user with Excel 2000 had an error after enabling macros: Microsoft Excel 400 error which has to with showing a form. It was the splash screen. When I bypassed showing the form, it worked for that user. It works fine showing the splash screen with my Excel 2000. Code: In this workbook: Private Sub Workbook_Open() SplashSSS.Show End Sub In form: Private Sub UserForm_Activate() Application.OnTime Now + TimeValue("00:00:03"), "KilltheForm" End Sub In a module: Public Sub KilltheForm() Unload SplashSSS End Sub Any idea why this would generate an error? Thanks. Bill |
| Ads |
|
#2
|
|||
|
|||
|
I have Excel 2000 on this laptop, and your code worked fine here. Where does
the error occur? -- HTH RP (remove nothere from the email address if mailing direct) "Bill" > wrote in message nk.net... > Hello, > I use a splash screen when a macro opens. Never had a problem with it. Now > a user with Excel 2000 had an error after enabling macros: Microsoft Excel > 400 error which has to with showing a form. It was the splash screen. When > I bypassed showing the form, it worked for that user. It works fine showing > the splash screen with my Excel 2000. > > Code: > > In this workbook: > > > Private Sub Workbook_Open() > SplashSSS.Show > End Sub > > In form: > Private Sub UserForm_Activate() > Application.OnTime Now + TimeValue("00:00:03"), "KilltheForm" > End Sub > > In a module: > > Public Sub KilltheForm() > Unload SplashSSS > End Sub > > Any idea why this would generate an error? > > Thanks. > > Bill > > > |
|
#3
|
|||
|
|||
|
The error occurs immediately after he selects Enable Macros. He gets a
message saying file not found, then hits help and get the 400 error message. Very strange since it works on lots of Excel 2000 versions just fine. Bill "Bob Phillips" > wrote in message ... >I have Excel 2000 on this laptop, and your code worked fine here. Where >does > the error occur? > > -- > > HTH > > RP > (remove nothere from the email address if mailing direct) > > > "Bill" > wrote in message > nk.net... >> Hello, >> I use a splash screen when a macro opens. Never had a problem with it. > Now >> a user with Excel 2000 had an error after enabling macros: Microsoft >> Excel >> 400 error which has to with showing a form. It was the splash screen. > When >> I bypassed showing the form, it worked for that user. It works fine > showing >> the splash screen with my Excel 2000. >> >> Code: >> >> In this workbook: >> >> >> Private Sub Workbook_Open() >> SplashSSS.Show >> End Sub >> >> In form: >> Private Sub UserForm_Activate() >> Application.OnTime Now + TimeValue("00:00:03"), "KilltheForm" >> End Sub >> >> In a module: >> >> Public Sub KilltheForm() >> Unload SplashSSS >> End Sub >> >> Any idea why this would generate an error? >> >> Thanks. >> >> Bill >> >> >> > > |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| splash screen | K11ngy | Excel Discussion (Misc queries) | 3 | July 9th 07 12:19 PM |
| splash screen | Dave F | Excel Discussion (Misc queries) | 2 | March 16th 07 05:00 PM |
| splash screen | animated text in excel worksheet | Excel Programming | 2 | February 4th 05 07:51 PM |
| Splash screen and various screen resolutions | George J | Excel Programming | 4 | October 3rd 04 10:15 PM |
| Splash Screen | Michelle | Excel Programming | 2 | August 10th 04 11:04 AM |