Davesh Garg
Board Regular
- Joined
- Jun 3, 2014
- Messages
- 64
I have been struck in using multiple VBA coding, however not getting what I require. Hope someone will assist me in resolving my issue.
There are certain entries that user is going to enter in excel in Column A, Column B, Column C, Column D and Column E. I require that user can update any value in Column A, Column B, Column C, Column D but as soon as, user is updating duplicate value of concatenate of all columns then user will get some message and cell value of last column E will delete. There are chances that user can copy and paste values from previous row, then also they’ll get an error message and they will not be able to copy that duplicate entry. However, if entries of concatenate all values in a row is unique, then user is able to paste it.
Below is a description with example and detail of my requirement:
I really had an issue from last one week to resolve this issue at the earliest, but is not able to resolve. Please help me out on this. Please let me know if any additional information is required. I am really thankful for your assistance.
Thanks - Dave
There are certain entries that user is going to enter in excel in Column A, Column B, Column C, Column D and Column E. I require that user can update any value in Column A, Column B, Column C, Column D but as soon as, user is updating duplicate value of concatenate of all columns then user will get some message and cell value of last column E will delete. There are chances that user can copy and paste values from previous row, then also they’ll get an error message and they will not be able to copy that duplicate entry. However, if entries of concatenate all values in a row is unique, then user is able to paste it.
Below is a description with example and detail of my requirement:
Column A | Column B | Column C | Column D | Column E | Concatenate | Requirement | |
Row 1 | X1 | X2 | X3 | X4 | X5 | X1X2X3X4X5 | No issues, as it’s a unique value |
Row 2 | X1 | X2 | X3 | X4 | X6 | X1X2X3X4X6 | No issues, as it’s a unique value |
Row 3 | X1 | X2 | X3 | X4 | X6 | X1X2X3X4X6 | User should get error message, and value (X6) in Column E, Row 3 should be deleted |
Row 4 | X2 | X1 | X3 | X4 | X5 | X2X1X3X4X5 | No issues, as it’s a unique value |
Row 5 (copy and paste from Row 4) | X2 | X1 | X3 | X4 | X5 | X2X1X3X4X5 | User should get error message, and value (X5) in Column E, Row 5 should be deleted |
I really had an issue from last one week to resolve this issue at the earliest, but is not able to resolve. Please help me out on this. Please let me know if any additional information is required. I am really thankful for your assistance.
Thanks - Dave