I am a beginner at Excel VBA. I just wanna know what code I am going to use for changing the value of the selected column if found duplicate. For example, I want to create a code that changes the duplicates found from their original name to their original name + "_01" (or something similar). It is important that the code changes duplicates in the original row - not copying the row and pasting the result into some other column. I have tried different IF and countIF functions but have yet to succeed in VBA.
My range will be (A1:A100)
Example:
My range will be (A1:A100)
Example:
Row A | Row A |
aa | aa |
cc | cc |
dd | dd |
xx | xx |
ss | ss |
ee | ee |
ff | ff |
rr | rr |
aa | aa_01 |
cc | cc_01 |
zz | zz |
ss | ss_01 |
zz | zz_01 |