×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Message pop-up when I'm opening an Excel workbook

Message pop-up when I'm opening an Excel workbook

Message pop-up when I'm opening an Excel workbook

(OP)
Hi,

My intention is to have first a message pop-up when I'm opening an Excel workbook which contains several macros (I want to tell to user which macro should be used first). How can I do this?

Thanks in advance.

Regards
Fernando

RE: Message pop-up when I'm opening an Excel workbook

In VBE, under Workbook_Open, you want a Private Sub that will open a Form.  You'll have to create your form and have code initiated by the radio button or check box that has been selected.  It's not too hard, but it helps if you have a book.  I learned VBE from a Visual Basic 6 For Dummies book.  It was very helpful for this type of thing.

RE: Message pop-up when I'm opening an Excel workbook

(OP)
Hi Francesca,

You are right, this can be a solution. I was thinking only at a simple pop-up message, without radio buttons or check box.

Regards
Fernando

RE: Message pop-up when I'm opening an Excel workbook

Hello,

SOmething like this perhaps

Private Sub Workbook_Open()
MY_ENTRY = MsgBox("Hello and welcome.", vbOKOnly, "STARTING")
End Sub

this will need to go into the THIS WORKBOOK code window

----------------------------------
Hope this helps.
----------------------------------

maybe only a drafter
but the best user at this company!

RE: Message pop-up when I'm opening an Excel workbook

(OP)
Hi,

Definitely you are the best user -:)...Thanks a lot. Its exactly what I was looking for.

Regards
Fernando

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources