Hi,
Im having a sheet with a number of cells to enter data which are spread all over the page. I included an erase'button with macro to clear content of all cells where data is entered so users can use the same entry form again.
The sheet is protected and users can only enter de cells where data have to be entered.
The clumsy thing is that everytime we want to change the format of the sheet including the position of the datacells, I have to redo the entire macro because references in the macro are to each dataentry cell.
Is there a way to make a macro to select only the data entry cells on basis of the format (color) and then clear the content of these cells. I have tried to name the cells but then I have to include about 40 different names which is also rather clumsy.
Any tips or suggestions?
Thanks,
Joke
Im having a sheet with a number of cells to enter data which are spread all over the page. I included an erase'button with macro to clear content of all cells where data is entered so users can use the same entry form again.
The sheet is protected and users can only enter de cells where data have to be entered.
The clumsy thing is that everytime we want to change the format of the sheet including the position of the datacells, I have to redo the entire macro because references in the macro are to each dataentry cell.
Is there a way to make a macro to select only the data entry cells on basis of the format (color) and then clear the content of these cells. I have tried to name the cells but then I have to include about 40 different names which is also rather clumsy.
Any tips or suggestions?
Thanks,
Joke