Iterating unregistered add-ins (.xla)

后端 未结 6 1580
灰色年华
灰色年华 2020-12-31 13:17

I need help in

  • figuring out how to iterate through currently open Excel add-in files (.xla) that have not been registered in Excel using the Too
6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-31 13:51

    Is iterating through the registry a possibility? I know that that doesn't give you a snapshot of what your instance of Excel is using, but what a new instance would use - but depending on what you need it for, it might be good enough.

    The relevant keys are:

    'Active add-ins are in values called OPEN*
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Options
    
    'Inactive add-ins are in values of their full path
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Add-in Manager
    

提交回复
热议问题