+ Reply to Thread
Results 1 to 5 of 5

Simple cell addressing issue searched long time

  1. #1
    Registered User
    Join Date
    03-12-2009
    Location
    Rockville, Maryland, USA
    MS-Off Ver
    Office 2007
    Posts
    9

    Simple cell addressing issue searched long time

    I need to ask user to input the row ("rowin") and column ("colin") address in order to activate a cell. The mose natural inputs from the user will be an integer for row and one or two alphbats for column. Say, for example, the user input (82, AY), how do I represent the cell in code? I know I want to say something like Range("AY82"). But I just could not figure out how to concatenate "colin" & "rowin" to make it AY82 to Excel.

    I am new and spend quite a while to try to find an existing Q&A without a luck. If this is a dumb question, I appologize for wasting your time. But still would appreciate an answer.
    Last edited by Nelson Li; 03-17-2009 at 11:01 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Simple cell addressing issue searched long time

    Please Login or Register  to view this content.
    refers to the cell.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-17-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Simple cell addressing issue searched long time

    This is also perfectly acceptable:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-16-2009
    Location
    Your mom's basement
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Simple cell addressing issue searched long time

    Why not have the user click the cell they want?

  5. #5
    Registered User
    Join Date
    03-12-2009
    Location
    Rockville, Maryland, USA
    MS-Off Ver
    Office 2007
    Posts
    9

    Re: Simple cell addressing issue searched long time

    Thank you guys. All suggestions work fine. The reason not to have the user select the cell manually is because there are steps between selecting the cell and actually doing something relative to the cell. The cell will not be active at the action time.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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