Results 1 to 4 of 4

Thread: [RESOLVED] [Excel][VBA][Form][ListView] Get list subitems

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2021
    Posts
    4

    Resolved [RESOLVED] [Excel][VBA][Form][ListView] Get list subitems

    Hi guys,

    Is there any way to get the Column from a listview? I need to triagulate the data in a listview and get column and row for the item selected. The listItem (row) I can get, but the listSubitem (column) I have not found any viable way to get them.
    Can things like hotTracking and HoverSelection help with this?

  2. #2
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,143

    Re: [Excel][VBA][Form][ListView] Get list subitems

    Are you using Visual Basic 6.0, or VBA? If the latter, post in the Office Development portion of this Forum. If the former, have you searched MSDN for ListView?
    Sam I am (as well as Confused at times).

  3. #3
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    4,418

    Re: [Excel][VBA][Form][ListView] Get list subitems

    IIRC there is a HitTest-API for the ListView-Control
    and i think it has even been mentioned here on the forum a few times (i think Luca90 had a similiar question)
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  4. #4

    Thread Starter
    New Member
    Join Date
    Jun 2021
    Posts
    4

    Re: [Excel][VBA][Form][ListView] Get list subitems

    I created the same post in " Office Development" i will delete this one

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