Input box

DougRobertson

Active Member
Joined
Sep 22, 2009
Messages
334
Office Version
  1. 365
Platform
  1. Windows
At present, I use Input Boxes with the usual 'Yes', 'No' and 'Cancel' buttons. They return either vbYes, vbNo, or vbCancel. Simple.

However, I'm trying to create a macro that will save the open workbook in one of two folder options - 'Folder A' or 'Folder B'. I'd like to use an Input Box similar to the 'Yes No Cancel' one, but with the 'Yes' button essentially being replaced with a 'Folder A' button, the 'No' button replaced with a 'Folder B' button, and the 'Cancel' button staying as is.

Is there an easy way to do this? And what would be returned for the clicking of the various buttons, as opposed to vbYes etc.?

Or do I need to start from scratch with a new UserForm?

Thanks,

~ Doug
 
Hi Doug;

1. I dont know about border around the button but you can color the button
2. I think no
3. How i know it is possible In Microsoft Excel 7.0
 
Upvote 0

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,224,608
Messages
6,179,872
Members
452,949
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