Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Comment shows on open then deletes itself

Hello group,

I would like to insert or show a message / comment when a worksheet is
opened for the first time. I then want the comment or message to delete
itself.
Basically, I'm trying to embed a 2 or 3 sentence instruction for users then
have it go away after 15 seconds or after they read it so it doesn't
interfere with future cell data.
Any idea's ?
Thanks.

John


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Comment shows on open then deletes itself

If you create a template and the user creates the worksheet by doing
File=New and selects you template, then you can use the workbook.Open event

Private Sub workbook_Open()
if thisworkbook.path = "" then
msg = "abcd"
msgbox msg
end if
End Sub

This is put in the ThisWorkbook.Module.

You could also place an instruction sheet as the first page, then in the
beforesave event, delete the sheet if it exits.

You can look at Chip Pearson's site on programming the VBE if you actually
want to remove the code:

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

--
Regards,
Tom Ogilvy


"JohnG" wrote in message
...
Hello group,

I would like to insert or show a message / comment when a worksheet is
opened for the first time. I then want the comment or message to delete
itself.
Basically, I'm trying to embed a 2 or 3 sentence instruction for users

then
have it go away after 15 seconds or after they read it so it doesn't
interfere with future cell data.
Any idea's ?
Thanks.

John




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
Why do (_rels and other sub) shows when trying to open an Excel f Defrozer Excel Discussion (Misc queries) 0 October 15th 09 09:34 PM
2007 Excel Paste Special Values Deletes Comment WolfgangPD Excel Discussion (Misc queries) 0 May 14th 08 09:02 PM
Any way to change the color of the cell corner identifier that shows a comment is present? Keith R[_2_] Excel Discussion (Misc queries) 4 December 6th 07 02:12 PM
XP only shows 4 open windows at bottom JR573PUTT Excel Discussion (Misc queries) 2 July 11th 06 12:31 AM
Comment showson open then deletes JohnG Excel Discussion (Misc queries) 2 June 10th 05 04:13 PM


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