Excel Start up message

  • Thread starter Thread starter Ket
  • Start date Start date
K

Ket

Hello,

I am using excel XP on windows XP.
Is it possible to have a message box pop up when starting an excel
worksheet. This message box would have some key information regarding
the worksheet and the user would need to Ok this message to continue.
If they did not choose OK the spreadsheet will not open?

TIA

Ket
London
 
You could put it in a workbook open event

Private Sub Workbook_Open()
If MsgBox("hello", vbOKCancel) <> 1 Then
Application.ActiveWorkbook.Close
End If
End Sub

Lance
 
Works a treat - Many thanks Lance


You could put it in a workbook open event

Private Sub Workbook_Open()
If MsgBox("hello", vbOKCancel) <> 1 Then
Application.ActiveWorkbook.Close
End If
End Sub

Lance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Pivot Table 2
Excel 2003 V's Excel 2000? 2
Data Export 1
Data Filter and AutoSum 4
Excel Providing user message when RED X clicked & properly closing application. 2
Data Validation 1
Cell Protection Issue 1
3D Workbook?? 3

Back
Top