Create a button to select a specific item from a drop down list.

alexrohe

New Member
Joined
Feb 21, 2020
Messages
2
Office Version
  1. 2016
Hi All,

Kindly I would like to request your help in something that Im trying to do.

I have a drop down list that contain a value and is indicated in a adjacent cell. from the drop down list I have a item that I named "Add from Drop down" and its value is zero "0"
I would like to create a button than I can click and all the items picked from the drop down list in all cells will return to "Add from Drop down", in that case will have the value from the adyacent cell in zero (0)
is some kind of "Press to clear entries" button.

I have add some pictures to give you a clue of what I have.

Thank you for your help!
 

Attachments

  • aaa1.jpg
    aaa1.jpg
    170.3 KB · Views: 12
  • aaa2.jpg
    aaa2.jpg
    180.3 KB · Views: 12
  • aaa3.jpg
    aaa3.jpg
    190.9 KB · Views: 10

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi and welcome to MrExcel,

Try this:

VBA Code:
Sub clear_entries()
  Range("C11:C22, L11:L22").Value = "Add from Drop down"
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

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