Looking for alternatives to 32-bit only Microsoft Common Controls (ListView)

后端 未结 4 902

I have a legacy application developed in VBA/Excel which uses ListView controls. Unfortunately, it looks like these controls can\'t be used with 64-bit versions of Excel:

4条回答
  •  太阳男子
    2020-12-29 23:00

    One thing that is theoretically possible would be to write your display code as a .Net assembly and access that via COM from your VBA code (see for example How can I make use of .NET objects from within Excel VBA? as a starting point for how to do this).

    That way you can write .Net code for your controls. I haven't done that myself and am not sure how well it applies to your problem, but it looks like an option.

    I just found a short tutorial for calling .Net from Excel.

提交回复
热议问题