Message Box (on open) to choose (or not) to open a file

sdoppke

Well-known Member
Joined
Jun 10, 2010
Messages
647
Hi everyone, a lot on this topic, but none that directly address my need, any help would really be appreciated :)

The title says it all. Im looking for a macro, that on open of the workbook, generates a pop-up (messagebox) that has a message and a choice to open or not a file, that will most likely not be located within the workbook itself.

Thanks in advance everyone

sd
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi everyone, a lot on this topic, but none that directly address my need, any help would really be appreciated :)

The title says it all. Im looking for a macro, that on open of the workbook, generates a pop-up (messagebox) that has a message and a choice to open or not a file, that will most likely not be located within the workbook itself.

Thanks in advance everyone

sd



Does this help?

http://msdn.microsoft.com/en-us/library/139z2azd(v=vs.80).aspx

You'd probably want to create a msgbox and place it in the Workbook open event (ThisWorkbook).
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,903
Members
452,948
Latest member
Dupuhini

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