Data driven message box

brend0n

New Member
Joined
May 30, 2016
Messages
23
Hi all,
I'm trying to make a pop up box where the message information will change based on variables.

I have a database of multiple factors (the 3 I'm currently working with are (Project, report type, frequency) which are unique combination.

The summary page shows these 3 factors and several other via a drop down list of the project.
On the summary page I'd like to make it so if you check a tick box (can use multiple check boxes), a message box pops up with a statement/details associated to project,type,frequency.
Because these statement/details contains alot of text, i'd like to use the pop up to keep the summary page 'clean' and this info if's also required to be displayed.

I have developed the message box and linked to the check box (happy to run multiple check box per line of results returned) so far using youtube tutorials but struggling (with my limited VBA knowledge) to do the next step. maybe some variant of matchindex/sumproduct/if statement I'm not sure the best solution


Sub Simple_MsgBox()
VBA.Interaction.MsgBox "insert details here", , "Report details"

End Sub
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

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