+ Reply to Thread
Results 1 to 2 of 2

Returning Column of active cell

  1. #1
    Marek
    Guest

    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. #2
    Tom Ogilvy
    Guest

    Re: 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" <Marek@discussions.microsoft.com> wrote in message
    news:25B22099-503F-433B-BA2C-6154DC57BC58@microsoft.com...
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1