I would like to run a macro on an excel worbook with the following requirements:
1. copy the used range of worksheet 'overview' to a worksheet named 'my_custom_sets'. There are filtered rows in the 'overview' worksheet as well as blank rows. Only the visible cells are to be copied.
2. if there is already data on the 'my_custom_sets' worksheet (i.e. the macro has already been previously activated) a macro has to tell the user: "there is already data on the 'my_custom_sets' worksheet! If you continue, this data will be fully overwritten. Do you really want to do this? If the user presses 'YES' the copied and pasted data replaces the current data in the 'overview' worksheet. If the user presses 'NO' the macro is to abort.
Help is very much appreciated. Thank you very much in advance.