Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default MsgBox to the front

I have the following code, thanks to people here. How can I get the message
box to pop to the front of all open windows.

Thanks Taffy.



Sub timedmsg()
Dim cTime As Long
Dim WSH As Object

Set WSH = CreateObject("WScript.Shell")
cTime = 30 ' 30 secs
Select Case WSH.Popup("RC Heijunka Card Check Closing", cTime,
"Question", _
vbOKCancel)
Case vbOK: Call ShutDown
Case vbCancel: Call SetTime
Case -1: Call ShutDown

Case Else
End Select

End Sub


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
How can I keep a zero (0) at the front of a set of numbers. Myrddin Excel Worksheet Functions 2 January 26th 10 01:02 AM
Front End for Spreadsheet Yoda Excel Discussion (Misc queries) 2 October 16th 09 07:43 PM
put 0 in front of number dlb1228 Excel Discussion (Misc queries) 6 June 14th 06 10:08 PM
What does ABS mean in front of a Formula william4444 New Users to Excel 5 May 2nd 06 05:44 AM
front end zero Tdilly Excel Discussion (Misc queries) 1 September 1st 05 06:56 PM


All times are GMT +1. The time now is 02:32 PM.

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"