Delete all text in dropdowns in a sheet

Nick70

Active Member
Joined
Aug 20, 2013
Messages
302
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a worksheet which has some dropdowns which the analysts use when inserting client data.

I would like to have a macro which resets all dropdowns to zero so they are ready for new selection.

Normally one could do this by going to each dropdown cell and clicking on 'delete' button on keyboard.

This is a large worksheet so it would be ideal if one could run a macro that would delete all text in all cells which have a dropdown in that sheet (or alternatively all dropdowns in a specific range in that sheet for example Range(A1:H100)).

Sheet name is Sheet1.

Is there a way to do this?

Thanks,
Nic
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Practice with this:
Select a range non validation and validation cells.
go to special cells (F5), and select Data Validation option.
After you click OK, cells with data validation should be selected.
Hit the delete key then.

Then practice with the macro recorder and perform the same actions to see what the code looks like.
You can clean up the code after to remove the selects.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,514
Messages
6,125,273
Members
449,219
Latest member
daynle

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