I would appreciate any help for this problem. I have used
Selection.Replace What:= , Replacement:
in Excel macros before, but I am having a problem trying to replace the value in a target cell with that value shortened.
Example:
If this is the source data in a column (red text color only highlights target) with variable, unrelated entries in column cells other than target:
Kbkbkj-KKJKnnsk8238
hisjsd
ouihewwldcsd
ABC-DEF63-123
ABC-DEF68-123
ABC-DEF68-124
ABC-DEF77-125
ABC-DEF77-125.r
ABC-DEF77-125.st
ABC-DEF87-126
ABC-DEF87-127
ABC-DEF89-128
jshdclsdsds
74r3034f0dkk
uweoifwer!
This is what I want the result to be after replacement:
Kbkbkj-KKJKnnsk8238
hisjsd
ouihewwldcsd
ABC-DEF63-123
ABC-DEF68-123
ABC-DEF68-124
ABC-DEF77-125
ABC-DEF77-125
ABC-DEF77-125
ABC-DEF87-126
ABC-DEF87-127
ABC-DEF89-128
jshdclsdsds
74r3034f0dkk
uweoifwer!
Any help would be greatly appreciated.
Bookmarks