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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
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
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,650
Messages
6,120,736
Members
448,988
Latest member
BB_Unlv

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
Back
Top