View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Dick Kusleika[_4_] Dick Kusleika[_4_] is offline
external usenet poster
 
Posts: 595
Default Find ActiveCell.column

Linda

See here

http://www.dicks-blog.com/excel/2004..._numbers_.html to convert
column numbers to letter.

For your situation, you might use the Cells method

sValue = Worksheets("sheet1").Cells(1,ActiveCell.Column).Va lue

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"LindaMac" wrote in message
...
When I use the Activecell.column statement it returns a numeric value for

the
column(ex: 27), I want the character value (ex: AA).

Here is a sample of my code, I always want to access row #1, but the

column
will vary based on the activecell location:

Dim sColumn as string
Dim sRangeName as string
Dim sValue as string

sColumn = activecell.column
sRangeName = sColumn + "1"
sValue = worksheets("sheet1").range(sRangeName).value