A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You can do it with some simple code. In the ThisWorkbook code module, use
Private Sub Workbook_Open()
MsgBox "Hello World"
End Sub
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i have a spreadhseet multiple users will be opening on a regular basis. I would like to have a reminder pop up every time they open the sheet. Is there any way to make that happen?
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
You can do it with some simple code. In the ThisWorkbook code module, use
Private Sub Workbook_Open()
MsgBox "Hello World"
End Sub
Open your spreadsheet
Actiate the developer tab, if you are unaware on how this is done simply go to Files -> Options -> Customize Ribbon
Under MAIN TABS on the right hand side, you will see that developer is unchecked. Check it and click Okay.
Click the newly displayed DEVELOPER TAB
Click Visual Basic
On the left hand side, you will see a folder stating Microsoft Excel Objects
Under this folder, you will see ThisWorkbook, click it.
After you have done so, paste this inside the form
Private Sub Workbook_Open()
MsgBox "This workbook is very important, so please read this message!"
End Sub
All you have to do is replace the message inbetween the quotes.
This is basically what Chip stated, however it does not appear that he accounted for the fact that because it is "simple code" the user on the other hand may not have any coding experience at all; the result would be you would be completely lost, even if he handed you that code.