I have a very simple macro that is copying data from a range of cells and the macro is called from a button on a different worksheet to the one from on where the macro runs.
I need a way of telling the macro to look at the cells in the specified range and only copy any data from formulas in the cells have that returned data but skip the cells with formulas that do not return any results (so when you are looking at the worksheet the cell looks empty even though it is not). The data in cells within the range may change depending on what a user (me) may enter before running the macro.
This is the macro
Here is an example of how the range it is copying can look like
Cell B1 = Red
Cell B2 = Yellow
Cell B4 = Green
Cell B7 = Gray
I need the macro to ignore the blank cells (the ones where the formulas do not return a result) so the macro results are:
Cell B1 = Red
Cell B2 = Yellow
Cell B4 = Green
Cell B7 = Gray
This is beyond my knowledge so can anyone kindly help?
Thanks in advance
Bookmarks