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

I know how to create the msgbox for the whole workbook so that when yo
open the workbook the msgbox appears, thats fine. Is it possible an
if so how do I create a msgbox just for a sheet so that when it i
selected a msgbox appears

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Sheet msgbox

Hi
have a look at the workbook sheetactivate event

--
Regards
Frank Kabel
Frankfurt, Germany


I know how to create the msgbox for the whole workbook so that when
you open the workbook the msgbox appears, thats fine. Is it possible
and if so how do I create a msgbox just for a sheet so that when it

is
selected a msgbox appears?


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Sheet msgbox

Frank' suggestion will apply to al sheets. If you want it to apply to just
one sheet use the Worksheet_Activate event, and put the code in that
worksheet code module. Be aware that if you close the workbook with that
worksheet active, when you open the workbook again, that sheet will be
displayed, but it does not trigger the activate.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Frank Kabel" wrote in message
...
Hi
have a look at the workbook sheetactivate event

--
Regards
Frank Kabel
Frankfurt, Germany


I know how to create the msgbox for the whole workbook so that when
you open the workbook the msgbox appears, thats fine. Is it possible
and if so how do I create a msgbox just for a sheet so that when it

is
selected a msgbox appears?


---
Message posted from http://www.ExcelForum.com/




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
msgbox in sheet Peter Excel Discussion (Misc queries) 1 November 4th 09 06:59 AM
MsgBox from another sheet Ed Davis[_2_] Excel Discussion (Misc queries) 6 September 30th 09 02:33 PM
code to close an excel sheet without saving it .(via msgbox) Satyam Reddy Excel Worksheet Functions 2 May 14th 08 02:48 PM
Display MsgBox when selecting a sheet Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 3 October 11th 07 03:42 PM
msgbox peyman Excel Discussion (Misc queries) 5 October 4th 07 09:56 PM


All times are GMT +1. The time now is 11:16 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"