DAVID131
asked on
In Excel How do I prevent an empty cell being created when I am building a list from several sources
In Excel I have written code that works fine as long as the first Administration list, that is copied to build up a combined list (in the sheet Payroll nos), is populated.
If the first list is not populated and the second list is populated my macro 'pastes' the second list one cell down from the first cell (in Payroll nos) instead of in the first cell.
The result is that the final code to remove duplicates and put the results into a master list in column D leaves the master list empty.
As I said the code works perfectly well as long as the first list has some data
1-MODEL-v1.09.xlsm
If the first list is not populated and the second list is populated my macro 'pastes' the second list one cell down from the first cell (in Payroll nos) instead of in the first cell.
The result is that the final code to remove duplicates and put the results into a master list in column D leaves the master list empty.
As I said the code works perfectly well as long as the first list has some data
1-MODEL-v1.09.xlsm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad to help.
Thomas
Thomas
ASKER
Thanks for rapid response