I have about 20 columns on a sheet that contain different data in the exact same rows. I have a macro to clear the data from a particular column:
This is tied to a button form control on the sheet that says 'Clear Data'. Rather than creating a form control and macro for each column, is there a method to have a user either input a column letter in a cell or select from a dropdown in the cell and then have the macro use that cell to replace the column letter in the code. So the code would be setup with a wildcard entry and based on the input from the cell it would replace the column letter in all of the code? For example the entry cell would be AV2 and the user enters 'E' and then click the button form control and the macro would run as:
thanks
Bookmarks