excelbrands
New Member
- Joined
- Jun 25, 2020
- Messages
- 9
- Office Version
- 365
- Platform
- Windows
Hello. I have a spreadsheet with cells that have data validation lists and some cells where they can enter anything. I want a reset button that basically wipes out all the info on the cells. I recorded a macro to clear the cells and reset the data validation list, but it did not work on the cells with data validation. Here is a breakdown of what I need.
When they hit the form control button I want this to happen:
cell A9,A28,A46,A66,A87 are data validation lists and I want these set back to "0"
cell B13,B15,B17,B32,B34,B36,B50,B52,B54,B70,B72,B74,B91,B93,B95 are data validation lists and I want these set back to "None"
cell D13,D15,D17,D32,D34,D36,D50,D52,D54,D70,D72,D74,D91,D93,D95 are just cells and I want these just cleared or deleted
cell H13,H15,H17,H32,H34,H36,H50,H52,H54,H70,H72,H74,H91,H93,H95 are just cells and I want these set to "0"
Can you help me with a VB code for this??
The sheet name is called Ramp.
When they hit the form control button I want this to happen:
cell A9,A28,A46,A66,A87 are data validation lists and I want these set back to "0"
cell B13,B15,B17,B32,B34,B36,B50,B52,B54,B70,B72,B74,B91,B93,B95 are data validation lists and I want these set back to "None"
cell D13,D15,D17,D32,D34,D36,D50,D52,D54,D70,D72,D74,D91,D93,D95 are just cells and I want these just cleared or deleted
cell H13,H15,H17,H32,H34,H36,H50,H52,H54,H70,H72,H74,H91,H93,H95 are just cells and I want these set to "0"
Can you help me with a VB code for this??
The sheet name is called Ramp.