Villalobos
Active Member
Hello,
I would like to ask that what is the fastest way to remove all letters from a range in one shot?
In range G9:G the numbers ended with base units, like PC, KG or L and etc. Could you help me to figure out a code which can remove all letters (English Alphabet) from this range?
This is the part of my code:
Thank you in advance!
I would like to ask that what is the fastest way to remove all letters from a range in one shot?
In range G9:G the numbers ended with base units, like PC, KG or L and etc. Could you help me to figure out a code which can remove all letters (English Alphabet) from this range?
This is the part of my code:
Code:
.Range("G9:G" & Lastrow).Replace What:="PC", Replacement:=""
.Range("G9:G" & LastRow).Replace What:="KG", Replacement:=""
.Range("G9:G" & LastRow).Replace What:="L", Replacement:=""
&
Thank you in advance!