PC Review


Reply
Thread Tools Rate Thread

Creating Splash Screen in Excel 2004 MacIntosh

 
 
Bill
Guest
Posts: n/a
 
      14th Apr 2008
I have created a splash screen that works fine in Windows Excel but not on a
MacIntosh. I am using Application.wait to have the splash screen appear for
five seconds but on the Mac it will not disappear. From my testing it appears
that on the Mac the splash screen is being treated as a modal dialog box so
the five second timer does not start until after the user has manually closed
it. I have looked at the properites but can't see any place to set it to
non-modal.

Any suggestions on how to change this.

TIA

Bill
 
Reply With Quote
 
 
 
 
Jim Rech
Guest
Posts: n/a
 
      14th Apr 2008
I know nothing about Excel on Macs but here's an alternate method that works
on PCs and may on Macs.

Sub ShowUF()
Application.OnTime DateAdd("s", 5, Now), "CloseUF"
UserForm1.Show
End Sub

Sub CloseUF()
Unload UserForm1
''Other stuff
End Sub


--
Jim
"Bill" <(E-Mail Removed)> wrote in message
news:C4E5BCAA-BC00-4422-A566-(E-Mail Removed)...
|I have created a splash screen that works fine in Windows Excel but not on
a
| MacIntosh. I am using Application.wait to have the splash screen appear
for
| five seconds but on the Mac it will not disappear. From my testing it
appears
| that on the Mac the splash screen is being treated as a modal dialog box
so
| the five second timer does not start until after the user has manually
closed
| it. I have looked at the properites but can't see any place to set it to
| non-modal.
|
| Any suggestions on how to change this.
|
| TIA
|
| Bill


 
Reply With Quote
 
Bill
Guest
Posts: n/a
 
      14th Apr 2008
Hi Jim:

Thanks for the suggestion. I tried it but it seems to work the same way the
Application.Wait method does; once the Show method has been invoked the
program halts execution until the form is closed.

Bill

"Jim Rech" wrote:

> I know nothing about Excel on Macs but here's an alternate method that works
> on PCs and may on Macs.
>
> Sub ShowUF()
> Application.OnTime DateAdd("s", 5, Now), "CloseUF"
> UserForm1.Show
> End Sub
>
> Sub CloseUF()
> Unload UserForm1
> ''Other stuff
> End Sub
>
>
> --
> Jim
> "Bill" <(E-Mail Removed)> wrote in message
> news:C4E5BCAA-BC00-4422-A566-(E-Mail Removed)...
> |I have created a splash screen that works fine in Windows Excel but not on
> a
> | MacIntosh. I am using Application.wait to have the splash screen appear
> for
> | five seconds but on the Mac it will not disappear. From my testing it
> appears
> | that on the Mac the splash screen is being treated as a modal dialog box
> so
> | the five second timer does not start until after the user has manually
> closed
> | it. I have looked at the properites but can't see any place to set it to
> | non-modal.
> |
> | Any suggestions on how to change this.
> |
> | TIA
> |
> | Bill
>
>
>

 
Reply With Quote
 
Jim Rech
Guest
Posts: n/a
 
      14th Apr 2008
Ah, the things you don't see in Mac TV commercials<g>.

I suppose explicitly showing the form modeless fails too?

UserForm1.Show vbModeless

--
Jim
"Bill" <(E-Mail Removed)> wrote in message
news:ED3E1B9F-930D-4E5F-AC75-(E-Mail Removed)...
| Hi Jim:
|
| Thanks for the suggestion. I tried it but it seems to work the same way
the
| Application.Wait method does; once the Show method has been invoked the
| program halts execution until the form is closed.
|
| Bill
|
| "Jim Rech" wrote:
|
| > I know nothing about Excel on Macs but here's an alternate method that
works
| > on PCs and may on Macs.
| >
| > Sub ShowUF()
| > Application.OnTime DateAdd("s", 5, Now), "CloseUF"
| > UserForm1.Show
| > End Sub
| >
| > Sub CloseUF()
| > Unload UserForm1
| > ''Other stuff
| > End Sub
| >
| >
| > --
| > Jim
| > "Bill" <(E-Mail Removed)> wrote in message
| > news:C4E5BCAA-BC00-4422-A566-(E-Mail Removed)...
| > |I have created a splash screen that works fine in Windows Excel but not
on
| > a
| > | MacIntosh. I am using Application.wait to have the splash screen
appear
| > for
| > | five seconds but on the Mac it will not disappear. From my testing it
| > appears
| > | that on the Mac the splash screen is being treated as a modal dialog
box
| > so
| > | the five second timer does not start until after the user has manually
| > closed
| > | it. I have looked at the properites but can't see any place to set it
to
| > | non-modal.
| > |
| > | Any suggestions on how to change this.
| > |
| > | TIA
| > |
| > | Bill
| >
| >
| >


 
Reply With Quote
 
Bill
Guest
Posts: n/a
 
      15th Apr 2008
Using the vbModeless constant on the Mac generates a parameter violation on
compile. I checked in the VBA Mac documentation and can't find any reference
to the FormShowConstants.

Thanks for the suggestion.

Bill

"Jim Rech" wrote:

> Ah, the things you don't see in Mac TV commercials<g>.
>
> I suppose explicitly showing the form modeless fails too?
>
> UserForm1.Show vbModeless
>
> --
> Jim
> "Bill" <(E-Mail Removed)> wrote in message
> news:ED3E1B9F-930D-4E5F-AC75-(E-Mail Removed)...
> | Hi Jim:
> |
> | Thanks for the suggestion. I tried it but it seems to work the same way
> the
> | Application.Wait method does; once the Show method has been invoked the
> | program halts execution until the form is closed.
> |
> | Bill
> |
> | "Jim Rech" wrote:
> |
> | > I know nothing about Excel on Macs but here's an alternate method that
> works
> | > on PCs and may on Macs.
> | >
> | > Sub ShowUF()
> | > Application.OnTime DateAdd("s", 5, Now), "CloseUF"
> | > UserForm1.Show
> | > End Sub
> | >
> | > Sub CloseUF()
> | > Unload UserForm1
> | > ''Other stuff
> | > End Sub
> | >
> | >
> | > --
> | > Jim
> | > "Bill" <(E-Mail Removed)> wrote in message
> | > news:C4E5BCAA-BC00-4422-A566-(E-Mail Removed)...
> | > |I have created a splash screen that works fine in Windows Excel but not
> on
> | > a
> | > | MacIntosh. I am using Application.wait to have the splash screen
> appear
> | > for
> | > | five seconds but on the Mac it will not disappear. From my testing it
> | > appears
> | > | that on the Mac the splash screen is being treated as a modal dialog
> box
> | > so
> | > | the five second timer does not start until after the user has manually
> | > closed
> | > | it. I have looked at the properites but can't see any place to set it
> to
> | > | non-modal.
> | > |
> | > | Any suggestions on how to change this.
> | > |
> | > | TIA
> | > |
> | > | Bill
> | >
> | >
> | >
>
>
>

 
Reply With Quote
 
Mike Middleton
Guest
Posts: n/a
 
      15th Apr 2008
Bill -

If you don't get assistance here in the microsoft.public.excel.programming
newsgroup, I suggest you try the very acitve
microsoft.public.mac.office.excel newsgroup.

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel



"Bill" <(E-Mail Removed)> wrote in message
news:C4E5BCAA-BC00-4422-A566-(E-Mail Removed)...
>I have created a splash screen that works fine in Windows Excel but not on
>a
> MacIntosh. I am using Application.wait to have the splash screen appear
> for
> five seconds but on the Mac it will not disappear. From my testing it
> appears
> that on the Mac the splash screen is being treated as a modal dialog box
> so
> the five second timer does not start until after the user has manually
> closed
> it. I have looked at the properites but can't see any place to set it to
> non-modal.
>
> Any suggestions on how to change this.
>
> TIA
>
> Bill



 
Reply With Quote
 
dan dungan
Guest
Posts: n/a
 
      16th Apr 2008
Hi Jim,

Where do you put this code to get it to work?

I tried placing both subs in the workbook on open event

The form came up and then an information message:

"The macro "C:\Documents and Settings\My Documents\splashscreen.xls'!
CloseUF' cannot be found."

Dan
 
Reply With Quote
 
Bill
Guest
Posts: n/a
 
      16th Apr 2008
I try cross-posting it, Thanks

"Mike Middleton" wrote:

> Bill -
>
> If you don't get assistance here in the microsoft.public.excel.programming
> newsgroup, I suggest you try the very acitve
> microsoft.public.mac.office.excel newsgroup.
>
> - Mike Middleton
> http://www.DecisionToolworks.com
> Decision Analysis Add-ins for Excel
>
>
>
> "Bill" <(E-Mail Removed)> wrote in message
> news:C4E5BCAA-BC00-4422-A566-(E-Mail Removed)...
> >I have created a splash screen that works fine in Windows Excel but not on
> >a
> > MacIntosh. I am using Application.wait to have the splash screen appear
> > for
> > five seconds but on the Mac it will not disappear. From my testing it
> > appears
> > that on the Mac the splash screen is being treated as a modal dialog box
> > so
> > the five second timer does not start until after the user has manually
> > closed
> > it. I have looked at the properites but can't see any place to set it to
> > non-modal.
> >
> > Any suggestions on how to change this.
> >
> > TIA
> >
> > Bill

>
>
>

 
Reply With Quote
 
Bob Greenblatt
Guest
Posts: n/a
 
      17th Apr 2008
On 4/16/08 2:21 PM, in article
5F12777E-02A4-47A6-9954-(E-Mail Removed), "Bill"
<(E-Mail Removed)> wrote:

> I try cross-posting it, Thanks
>
> "Mike Middleton" wrote:
>
>> Bill -
>>
>> If you don't get assistance here in the microsoft.public.excel.programming
>> newsgroup, I suggest you try the very acitve
>> microsoft.public.mac.office.excel newsgroup.
>>
>> - Mike Middleton
>> http://www.DecisionToolworks.com
>> Decision Analysis Add-ins for Excel
>>
>>
>>
>> "Bill" <(E-Mail Removed)> wrote in message
>> news:C4E5BCAA-BC00-4422-A566-(E-Mail Removed)...
>>> I have created a splash screen that works fine in Windows Excel but not on
>>> a
>>> MacIntosh. I am using Application.wait to have the splash screen appear
>>> for
>>> five seconds but on the Mac it will not disappear. From my testing it
>>> appears
>>> that on the Mac the splash screen is being treated as a modal dialog box
>>> so
>>> the five second timer does not start until after the user has manually
>>> closed
>>> it. I have looked at the properites but can't see any place to set it to
>>> non-modal.
>>>
>>> Any suggestions on how to change this.
>>>
>>> TIA
>>>
>>> Bill

>>
>>
>>

This ought to work fine. How have you built your splash screen? The best way
is to display a worksheet, and then hide it when the time expires. Let us
know if this does not work, or post a sample of your code.

--
Bob Greenblatt [MVP], Macintosh
bobgreenblattATmsnDOTcom

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tab functionality in VBA form in Excel 2004 for Mac / Macintosh drhalter Microsoft Excel Programming 1 28th Feb 2009 09:43 PM
Creating New Threads to Show a Splash and Login Screen Gaz Microsoft C# .NET 4 15th May 2008 09:18 PM
Save Excel 2002 to be read by MacIntosh Excel 2004? =?Utf-8?B?Y2FnZWRiaXJkZmxpZXM=?= Microsoft Excel New Users 4 1st Mar 2005 08:55 AM
Send Excel 2002 spreadsheet to MacIntosh Excel 2004 =?Utf-8?B?Y2FnZWRiaXJkZmxpZXM=?= Microsoft Excel Misc 0 21st Feb 2005 08:13 PM
creating a splash screen in VB.NET Reny J Joseph Thuthikattu Microsoft VB .NET 5 25th Apr 2004 12:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:40 PM.