picklefactory
Well-known Member
- Joined
- Jan 28, 2005
- Messages
- 508
- Office Version
- 365
- Platform
- Windows
Hi folks.
I'm building a new WB and moving values via VBA from various, scattered cells on one sheet to create a single row of selected values on a 2nd sheet for charting, probably by way of a command button to run the UDF. The UDF finds the next empty row in target sheet to deposit the values from source sheet. Not sure which is the best fix, but I want to avoid the procedure being run more than once (Click happy on the button) and just creating a duplicate row/s of the same data, OR if that does happen, then search for a duplicate complete row and remove it. (Not single cell duplicates, as there can be duplicates in individual cells).
Is that difficult? I'm finding various bits of code to highlight individual duplicates when I search, but I'm struggling to find a way of defining a complete duplicate row.
Could anyone point me in the right direction please?
I'd like to add it to the UDF to either refuse to add a duplicate row, or remove it after duplication, either would work.
Thanks
I'm building a new WB and moving values via VBA from various, scattered cells on one sheet to create a single row of selected values on a 2nd sheet for charting, probably by way of a command button to run the UDF. The UDF finds the next empty row in target sheet to deposit the values from source sheet. Not sure which is the best fix, but I want to avoid the procedure being run more than once (Click happy on the button) and just creating a duplicate row/s of the same data, OR if that does happen, then search for a duplicate complete row and remove it. (Not single cell duplicates, as there can be duplicates in individual cells).
Is that difficult? I'm finding various bits of code to highlight individual duplicates when I search, but I'm struggling to find a way of defining a complete duplicate row.
Could anyone point me in the right direction please?
I'd like to add it to the UDF to either refuse to add a duplicate row, or remove it after duplication, either would work.
Thanks