Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Returning Column of active cell

Hi,

Does anyone know how to return the column of the active cell - not as a
column number but the column letter. So, if cell C1 is selected, return
column C.

The Column propert seems only to return the number 3
--
Many thanks in advance for any assistance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Returning Column of active cell

colLetter = Left(ActiveCell.Address(0,0),1 - (ActiveCell.column 26))

Although, there is no need to do this if trying to reference a location.

--
Regards,
Tom Ogilvy

"Marek" wrote in message
...
Hi,

Does anyone know how to return the column of the active cell - not as a
column number but the column letter. So, if cell C1 is selected, return
column C.

The Column propert seems only to return the number 3
--
Many thanks in advance for any assistance



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning value of active cell Sergio Excel Worksheet Functions 3 May 10th 23 03:42 AM
Returning same value cell in a column but different row. [email protected] Excel Worksheet Functions 4 May 31st 07 12:29 PM
How to locate the Row and Column of an Active Cell Fred Excel Discussion (Misc queries) 1 December 7th 05 05:55 PM
Returning active cell Ted Metro Excel Worksheet Functions 2 May 3rd 05 02:47 PM
copying the column of the active cell to another column Paul James[_5_] Excel Programming 2 February 26th 04 08:04 PM


All times are GMT +1. The time now is 08:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"