Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
message boxes

ResolvedVersion 2003

Matt has attended:
Excel VBA Intro Intermediate course
Excel VBA Intro Intermediate course

Message boxes

How can a message box automatically appear on opening a workbook?

RE: Message boxes

Matt,

Write a handler for the Workbook Open event, in the ThisWorkbook module - i.e.

Private Sub Workbook_Open()
MsgBox ("Hi there!")
End Sub


/Roy

Excel tip:

Line breaks in a cell

You can control the line breaks for multiple-line headings or labels in your Microsoft Excel worksheet, just like you do in Microsoft Word. Here's how to do it.

Click the cell where you want the label or heading to appear.
Type the first line of information.
Press ALT+ENTER.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.