pop-up message box

leesl3

New Member
Joined
Sep 6, 2002
Messages
3
how do you customize a message box to pop up once you open a file? i've tried writing a macro for this, but i have to get into the file first and then invoke the macro before the message box pops up.

Thanks.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

elgringo56

Well-known Member
Joined
Apr 15, 2002
Messages
869
put a macro in the woork book open area. That should do it

Private Sub Workbook_Open()
MsgBox "Hi"
Range("A1").Select
End Sub
This message was edited by elgringo56 on 2002-09-07 09:27
 

leesl3

New Member
Joined
Sep 6, 2002
Messages
3
No, I need a "warning" window to come up when a file is opened, kind of like how if a file contains macros from a different source, it pops up the macros warning window. That's like something what i need. Is there a way to do this?

Thanks.
 

Forum statistics

Threads
1,144,434
Messages
5,724,327
Members
422,544
Latest member
hpatel7

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top