+ Reply to Thread
Results 1 to 28 of 28

Listview For 64 Bit Excel Version

  1. #1
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Listview For 64 Bit Excel Version

    Hi,

    I am looking for a workaround to get this working in 64 Bit Excel.

    Is there a way to do it. Documentation suggests that the dlls aren't available. But is there a workaround that can help me achieve this?
    Attached Images Attached Images
    Cheers!
    Deep Dave

  2. #2
    Registered User
    Join Date
    10-20-2012
    Location
    italy
    MS-Off Ver
    Excel 2013
    Posts
    11

    Re: Listview For 64 Bit Excel Version

    Se interessa ancora, Ok si può fare con Excel 2016 64 Bit.

  3. #3
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Listview For 64 Bit Excel Version

    Ciao

    Grazie per la risposta.

    Puoi guidarmi come? Preferibilmente in inglese?

    Cheers!
    Deep

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Listview For 64 Bit Excel Version

    ListView will not work on 64 bit. Just replace it with ListBox control.

    ActiveX controls that's not packaged with Excel should be avoided for the most part. Most will not work in 64 bit environment.
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Listview For 64 Bit Excel Version

    Hi,

    Thank you for the reply..

    I will try it out and revert

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Listview For 64 Bit Excel Version

    @CK76

    Hi,

    Would you know of a way where we can populate a 2D listobject in the ListBox Control??

  7. #7
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Listview For 64 Bit Excel Version

    I'm not sure what you mean by 2D listobject in ListBox.

    Can you upload sample workbook demonstrating/illustrating your need?

  8. #8
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Listview For 64 Bit Excel Version

    Hi,

    Thanks for the reply..

    I am sorry I was a bit unclear..

    I have a 3 Column by few rows of data that has Name, Contact & Address.

    All I want to do is populate the array in the Listbox. Can this be done?

  9. #9
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,008

    Re: Listview For 64 Bit Excel Version

    Yes - just assign it to the List property.
    Everyone who confuses correlation and causation ends up dead.

  10. #10
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Listview For 64 Bit Excel Version

    Note: Don't forget to set .ColumnCount property of ListBox to appropriate number. Otherwise, you'll only see first column in the box.

    Ex:
    Please Login or Register  to view this content.

  11. #11
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Listview For 64 Bit Excel Version

    Hi rorya & CK76,

    Thanks for the help.. That worked perfectly as required.

    Just 1 last question, suppose the data contains Headers, is there a way we can freeze the 1st row (Headers) in the Listbox?

  12. #12
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,293

    Re: Listview For 64 Bit Excel Version

    Use labels to show the headers
    see attached
    Attached Files Attached Files

  13. #13
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Listview For 64 Bit Excel Version

    Hi!

    Thank you for the reply.. However, when I scroll the column, the Headers stay still..

    I am looking for something more robust.

  14. #14
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,293

    Re: Listview For 64 Bit Excel Version

    So are you looking for headers to be displayed or the topmost entry visible in the listbox when scrolled?????

  15. #15
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,008

    Re: Listview For 64 Bit Excel Version

    You can only get real headers using a worksheet range. Failing that you could put another Listbox above it and synchronise the scrolling with code.

  16. #16
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Listview For 64 Bit Excel Version

    Or labels if you don't need horizontal scrolling - you just make them the same width as your column widths: see https://www.excelforum.com/tips-and-...e-listbox.html

  17. #17
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,008

    Re: Listview For 64 Bit Excel Version

    I assumed that's what nigelog did, but confess I didn't actually look.

  18. #18
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Listview For 64 Bit Excel Version

    I somehow missed about have the posts in this thread haha so nigelog probably did

  19. #19
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Listview For 64 Bit Excel Version

    @NeedForExcel

    As others have stated, there is no way to include header in listbox without using rowsource. If you are able to... use row source to fill listbox from worksheet range.
    If that's not feasible (often isn't for code efficiency etc)... then you can add labels, or just add single row lisbox with same dimension on top of your lisbox to serve as a header.
    Do note, there isn't any event available for scrolling on listbox, so you'll either have to manually adjust or fit all columns into listbox.

  20. #20
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: Listview For 64 Bit Excel Version

    Is there really no way to get listviews to work on win10 box? What about upgrading to full visual basic? Does that at least give access to a comparable control?

  21. #21
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Listview For 64 Bit Excel Version

    Nope, not that’s accessible in a vba userform

  22. #22
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: Listview For 64 Bit Excel Version

    What about the Listgrid control listed about halfway down the page at https://jkp-ads.com/Articles/treeview.asp
    ?

    It's not free but I have no idea how much it costs.

  23. #23
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Listview For 64 Bit Excel Version

    Hi,

    Thanks all for the replies.. I am sorry for the late reply, I was away from the forum for a while..

    Using labels does not look particularly good, and I needed it for a Dashboard which was supposed to look all pretty , so I might try and figure out something else..

    Cheers!

  24. #24
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: Listview For 64 Bit Excel Version

    What about running a 32 bit virtual machine? Google search shows that it's possible to create a 32 bit virtual machine on a 64 bit machine but it's not clear to me if this would actually work. And I have zero experience with virtual machines.

    If it means extra software and $$, that's ok.

  25. #25
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: Listview For 64 Bit Excel Version

    Ummmmmm...

    Am I confused or has this been fixed? Seems I can run dialogs with listviews in them on my windows 10 box. Files I couldn't use 6 months ago suddenly work fine.

    ???

  26. #26
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Listview For 64 Bit Excel Version

    Probably bit confused. Win 10 64 bit is different from Excel 32 bit / 64 bit.

    Excel/Office 64 bit, will not be able to run Listview. While Win 10 64 bit with Excel 32 bit install will be able to.

  27. #27
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: Listview For 64 Bit Excel Version

    Quote Originally Posted by CK76 View Post
    Probably bit confused. Win 10 64 bit is different from Excel 32 bit / 64 bit.

    Excel/Office 64 bit, will not be able to run Listview. While Win 10 64 bit with Excel 32 bit install will be able to.
    Has this always been the case? I'm pretty sure that we've always had 32 bit excel but listviews didn't work a few months back but now suddenly they work. Two different win 10 boxes.

  28. #28
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: Listview For 64 Bit Excel Version

    Quote Originally Posted by Cyclops View Post
    Has this always been the case? I'm pretty sure that we've always had 32 bit excel but listviews didn't work a few months back but now suddenly they work. Two different win 10 boxes.
    As it turns out, we were running 32 office on 64 bit machines. At install, listview and some other features didn't work. After forcing updates and rebooting a few times, they work fine. Was reminded recently when another computer was upgraded to win10 and many files stopped working. Forced update and everything was fine.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 01-09-2016, 02:02 PM
  2. Formulas not working in higher version, 2010 Version to 2013 version
    By thilag in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-19-2015, 09:09 PM
  3. Replies: 2
    Last Post: 04-11-2015, 12:44 AM
  4. Get code that works on excel version 2007 to work on version 2010
    By Agent1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2014, 01:23 AM
  5. Listview Control version 6.0
    By PerryBeatty in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-24-2014, 06:49 AM
  6. Listview checked row delete line in Listview and in worksheet data
    By madforit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2012, 01:00 PM
  7. Replies: 3
    Last Post: 06-16-2005, 11:05 PM

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