Hi all,
I am new to vba and i have tried to find a code on here for clearing my whole worksheet but i cant seem to find one which does the specifics i want to or does all the bits if i missed something id be very grateful for a thread link...
Trying to create a new prf for my team, and i have a mixture of; normal cells to fill in which reference to other worksheets, over a hundred form checkboxes, some forms to fill in if checkbox is true, comboboxes, one which looks up a different set list if a checkbox is true.
Now i want to have a button to clear this worksheet, so make all my checkboxes false, make my dropdowns go blank, and clear the cells which have to be manually typed in (which will hopefully clear the other sheets that reference data from this main worksheet, if my code is correct ) also i have a runnign total but i guess if the dropdowns go back to blank that will go back to 0?
Can anyone help with the code? all my checkboxes, comboboxes and arrays are separately named so i didn't want to list out every single one, but i also just dont want to clear the whole sheet (i need the formatting/headers/etc to stay) also i would be so grateful if you do help with the code if you could 'note me the parts so i can see which part of code does what
Thank you in advance
I am new to vba and i have tried to find a code on here for clearing my whole worksheet but i cant seem to find one which does the specifics i want to or does all the bits if i missed something id be very grateful for a thread link...
Trying to create a new prf for my team, and i have a mixture of; normal cells to fill in which reference to other worksheets, over a hundred form checkboxes, some forms to fill in if checkbox is true, comboboxes, one which looks up a different set list if a checkbox is true.
Now i want to have a button to clear this worksheet, so make all my checkboxes false, make my dropdowns go blank, and clear the cells which have to be manually typed in (which will hopefully clear the other sheets that reference data from this main worksheet, if my code is correct ) also i have a runnign total but i guess if the dropdowns go back to blank that will go back to 0?
Can anyone help with the code? all my checkboxes, comboboxes and arrays are separately named so i didn't want to list out every single one, but i also just dont want to clear the whole sheet (i need the formatting/headers/etc to stay) also i would be so grateful if you do help with the code if you could 'note me the parts so i can see which part of code does what
Thank you in advance