Varible - Number of column

  • Thread starter Thread starter gatarossi
  • Start date Start date
G

gatarossi

Dear all,

I need to create a variable to return the number of the column that
the active cell is selected, for example: if the cell selected is in
column B, the number returned by variable is two; if the cell selected
is in column E, the number returned by variable is 5.

Thanks a lot!!!

André.
 
msgbox activecell.column

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(e-mail address removed)
Dear all,

I need to create a variable to return the number of the column that
the active cell is selected, for example: if the cell selected is in
column B, the number returned by variable is two; if the cell selected
is in column E, the number returned by variable is 5.

Thanks a lot!!!

André.
 
Back
Top