View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default how can I create a pop-up message whenever a workbook is opened?

Hi,

Alt+F11 to open VB editor. Double click 'This Workbook' and paste this in on
the right

Private Sub Workbook_Open()
response = MsgBox("Hello World", vbOKOnly, "My Welcome message")
End Sub

Mike

"twiftshoeblade" wrote:

I would like to make a message appear in the form of a pop-up, like an input
or error message, whenever a workbook is opened.