Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub SelfClosingMsgBox()
Dim wsh As Object Set wsh = CreateObject("WScript.Shell") wsh.Popup "Hello!", 2, "This closes itself in 2 seconds" End Sub -- Jim "FARAZ QURESHI" wrote in message ... | 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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Jim Rech
This is also what I need so I copied the macro to under the view code "this workbook' but it open without the msg. Can you provide more info. tnks. "Jim Rech" wrote: Sub SelfClosingMsgBox() Dim wsh As Object Set wsh = CreateObject("WScript.Shell") wsh.Popup "Hello!", 2, "This closes itself in 2 seconds" End Sub -- Jim "FARAZ QURESHI" wrote in message ... | 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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Rename the subroutine
Sub Workbook_Open() This'll run when the workbook is opened (and your users allow macros to run). vcff wrote: Hi Jim Rech This is also what I need so I copied the macro to under the view code "this workbook' but it open without the msg. Can you provide more info. tnks. "Jim Rech" wrote: Sub SelfClosingMsgBox() Dim wsh As Object Set wsh = CreateObject("WScript.Shell") wsh.Popup "Hello!", 2, "This closes itself in 2 seconds" End Sub -- Jim "FARAZ QURESHI" wrote in message ... | What macro should be assigned to a message box to pop up upon opening a | workbook displaying company logo and disappearing in 2 seconds? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 Error Message | Excel Discussion (Misc queries) | |||
*How can you post a message to a newgroup from Excel?? | Excel Discussion (Misc queries) | |||
File in use error message on a non shared workbook | Excel Discussion (Misc queries) | |||
How do I control where the input message appears? | Excel Discussion (Misc queries) | |||
Calculations And Order In Macros | Excel Discussion (Misc queries) |