A Microsoft Excel forum. ExcelBanter

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.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Programming
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Splash Screen



 
 
Thread Tools Display Modes
  #1  
Old November 3rd 05, 05:01 PM posted to microsoft.public.excel.programming
Bill[_30_]
external usenet poster
 
Posts: 89
Default Splash Screen

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  
Old November 3rd 05, 05:19 PM posted to microsoft.public.excel.programming
Bob Phillips[_6_]
external usenet poster
 
Posts: 11,272
Default Splash Screen

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  
Old November 3rd 05, 05:28 PM posted to microsoft.public.excel.programming
Bill[_30_]
external usenet poster
 
Posts: 89
Default Splash Screen

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 08:34 PM.


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