ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Pop-up (https://www.excelbanter.com/excel-discussion-misc-queries/188909-pop-up.html)

ahmed

Pop-up
 
Hi

Is there any way I can set up a message pop up when ever a file is opened.

Thanks

ahmed

Bob Phillips

Pop-up
 
Private Sub Workbook_Open()
MsgBox "hello"
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"ahmed" wrote in message
...
Hi

Is there any way I can set up a message pop up when ever a file is opened.

Thanks

ahmed





All times are GMT +1. The time now is 03:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com