Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default Do not show this message again

How do i write a code to display a message box once an excel file is open
(open event) that allows the user to tick a box if they don't want to see
this message any more.
i'm using Excel 2003.
Many thanks
Tendresse
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Do not show this message again

Hi Tendresse

You can check a cell value in the workbook and if it is not "no" for example
show the msgbox

Private Sub Workbook_Open()
If Sheets("Sheet1").Range("A1").Value < "no" Then
MsgBox "Hi"
End If
End Sub

You can also build a small userform with a tickbox to fill the cell value with this value

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Tendresse" wrote in message ...
How do i write a code to display a message box once an excel file is open
(open event) that allows the user to tick a box if they don't want to see
this message any more.
i'm using Excel 2003.
Many thanks
Tendresse

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
show a message if print CC Excel Discussion (Misc queries) 2 February 17th 10 10:05 AM
Cannot get message box to show Steven Excel Programming 1 July 4th 08 05:26 AM
message box does not show Marilyn Excel Discussion (Misc queries) 2 May 15th 08 11:44 PM
Message box to show cell value scottwilsonx[_29_] Excel Programming 4 September 7th 04 10:59 AM
show message Mark Kubicki Excel Programming 6 December 19th 03 01:54 PM


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