Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating User Messages that appears when opening an excel file 1

Status
Not open for further replies.

petercav

Technical User
Mar 14, 2004
10
AU
Hi There,

Does anyone know how to create message boxes that pop up when an excel file is open? Similar to when the "read-only" message that comes up sometimes, except that I want to put my own message in there that says "Please remember to do...."

Is this possible?

Anyones help is greatly appreciated

Thanks!

Petercav
 
You need to add this code to the vba editor...

alt+F11, the click the "thisworkbook" section under the Project - VBA Project window on the left

then paste this...

Private Sub Workbook_Open()
MsgBox ("My reminder text")
End Sub
 
thanks for that!

has helped out a lot!

Regards

Petercav
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top