Pop-Up Window with different options//Userform vs Msgbox

Leeeo

New Member
Joined
Jan 10, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,
I'm still very new to Excel VBA and I'm looking for help.

I want a PopUp Window to appear in my Worksheet and give the user different options what to do.
The options will be something like "sent an email", "mark as done", "leave as is".
I want to link actions to the options, the goal would be, that when the user clicks on "sent an email" an email will automatically be sent to an email directory.

I don't know if that is possible, and if I should look into Messagebox or Userform.

If anybody could help me or just point me into a direction, that would be amazing!
Thank you so much!

Greetings,
Leo
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Create a Userform and populate it with command boxes, and in workbook_open event call that userform when workbook is opened automatically using the code below. Try slowly building the code by watching some YouTube videos.

VBA Code:
Private Sub Workbook_Open()
        Myformm.Show
End Sub

"Myformm" is a custom name you can change accordingly.

This playlist is all you need if you want to learn VBA.
 

Attachments

  • 1673352062170.png
    1673352062170.png
    18.3 KB · Views: 4
  • 1673352377198.png
    1673352377198.png
    36.7 KB · Views: 4
Upvote 0
Solution
Create a Userform and populate it with command boxes, and in workbook_open event call that userform when workbook is opened automatically using the code below. Try slowly building the code by watching some YouTube videos.

VBA Code:
Private Sub Workbook_Open()
        Myformm.Show
End Sub

"Myformm" is a custom name you can change accordingly.

This playlist is all you need if you want to learn VBA.
Thank you so much, I will do that!
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,716
Members
448,985
Latest member
chocbudda

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