#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default TIMED MSGBOX

What macro should be assigned to a message box to pop up upon opening a
workbook displaying company logo and disappearing in 2 seconds?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 210
Default TIMED MSGBOX

Faraz,

I would use a customized userform and use the onTime method to make it
dissapear.
--
http://HelpExcel.com




"FARAZ QURESHI" wrote:

What macro should be assigned to a message box to pop up upon opening a
workbook displaying company logo and disappearing in 2 seconds?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default TIMED MSGBOX

Thanx Galimi,
But can u write a line of example to provide me correct syntax of onTime
method?

"FARAZ QURESHI" wrote:

What macro should be assigned to a message box to pop up upon opening a
workbook displaying company logo and disappearing in 2 seconds?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 210
Default TIMED MSGBOX

application.ontime now + timevalue("00:00:02"),,"closeForm"

The closeForm sub would then close the userform...

sub closeForm
userform1.hide
end sub
--
http://HelpExcel.com




"FARAZ QURESHI" wrote:

Thanx Galimi,
But can u write a line of example to provide me correct syntax of onTime
method?

"FARAZ QURESHI" wrote:

What macro should be assigned to a message box to pop up upon opening a
workbook displaying company logo and disappearing in 2 seconds?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default TIMED MSGBOX

FARAZ

For more on the OnTime method see Chip Pearson's site.

http://www.cpearson.com/excel/ontime.htm

Soon you will be writing your own "lines"


Gord Dibben MS Excel MVP

On Tue, 2 Jan 2007 11:24:01 -0800, FARAZ QURESHI
wrote:

Thanx Galimi,
But can u write a line of example to provide me correct syntax of onTime
method?

"FARAZ QURESHI" wrote:

What macro should be assigned to a message box to pop up upon opening a
workbook displaying company logo and disappearing in 2 seconds?




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default TIMED MSGBOX

THANX GORD YOU'RE GREAT

"FARAZ QURESHI" wrote:

What macro should be assigned to a message box to pop up upon opening a
workbook displaying company logo and disappearing in 2 seconds?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default TIMED MSGBOX

Just a heads up, have you thought about that you might "over" design
your workbook. I for one would find it very annoying to get macro
warnings and then have to look at a logo and what have you every time I
open a particular workbook. I would turn it off which is very easy by
either go in and remove the macro or not allow macros to run at all.

Regards,

Peo Sjoblom


FARAZ QURESHI wrote:
THANX GORD YOU'RE GREAT

"FARAZ QURESHI" wrote:

What macro should be assigned to a message box to pop up upon opening a
workbook displaying company logo and disappearing in 2 seconds?

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
Hiding, or automatically answering, a confirmation msgbox Brian Beck Excel Discussion (Misc queries) 1 July 28th 06 04:11 PM
msgbox James Coughlan Excel Discussion (Misc queries) 3 May 3rd 06 01:57 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
MsgBox compile error in Excell Jerry Dyben Excel Discussion (Misc queries) 1 October 11th 05 07:04 PM
Msgbox Wildman Excel Worksheet Functions 1 April 26th 05 04:57 AM


All times are GMT +1. The time now is 12:51 AM.

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

About Us

"It's about Microsoft Excel"