To return the column number of a string
Once you have established your string is in A20 then you return the column
number of the cell:-
x = Range("A20").Column
Mike
" wrote:
Hello All,
I am pretty new to Excel Macros. I was writing a code and stuck up
with this problem.
I want to write the code to return the column number of a particular
string.
Like, I have "VET" string in one of the cells, A20
My code has to return to the column number 1 for the string "VET"
Please help,
Thanks,
Prasanna.
|