Results 1 to 5 of 5

Thread: Determine what you have selected in Excel

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    Rijswijk, Holland
    Posts
    25

    Post

    Dear VB users,

    I have a problem the find out what is selected in Excel.

    - Opening Excel sheet in VB5,
    - select a area,
    - with Alt Tab back to the VB5 program,
    - ?

    Is it now possible that the VB5 program can find out the selection.

    If yes, can somebody tell me how??

    Nice regards,

    Ingrid

  2. #2
    Hyperactive Member Al Smith's Avatar
    Join Date
    May 1999
    Location
    Marcellus, MI. USA
    Posts
    330

    Post

    Hi,

    ActiveCell.Row for the selected cell's row.
    ActiveCell.Column for the selected cell's column.
    ActiveCell.Value for the data in the selected cell. etc.

    Al.


    ------------------
    A computer is a tool, not a toy.
    <A HREF="mailto:[email protected]
    [email protected]">[email protected]
    [email protected]</A>

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    Rijswijk, Holland
    Posts
    25

    Post

    I can find only the top left coordinate, also needed is the bottom right coordinate, do you know the source?

    ingrid

  4. #4
    Addicted Member
    Join Date
    Apr 1999
    Location
    Freeport
    Posts
    204

    Post

    I try activecell.row but I get a error that that Object doesn't support this property or method '438'

  5. #5
    Addicted Member
    Join Date
    Apr 1999
    Location
    Freeport
    Posts
    204

    Post

    Can somebody help

Posting Permissions

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



Click Here to Expand Forum to Full Width