ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   List all Addin Project Name (https://www.excelbanter.com/excel-programming/327180-list-all-addin-project-name.html)

Richard Reye

List all Addin Project Name
 
I'm wondering if it is possible to get the project name of each registered
addin. I've used the following code to do this for all installed addins but
I'm wondering if this can be done if the addin is not currently installed or
if their is a better way for getting installed addins project names. (using
Xl2000)

For Each ad In Application.AddIns
If ad.Installed And LCase(Right(ad.Name, 3)) = "xla" Then MsgBox
Application.Workbooks(ad.Name).VBProject.Name
Next ad
--
Cheers!

Richard Reye

"Never argue with an idiot. They'll bring you down to their level then beat
you with experience" - someone

Edwin Tam[_7_]

List all Addin Project Name
 
The project name is stored inside the project file. You'll need to open a
project in order to read its name. Therefore, if an add-in is not installed
(loaded or opened), you cannot read its name using VBA.

Regards,
Edwin Tam

http://www.vonixx.com


"Richard Reye" wrote:

I'm wondering if it is possible to get the project name of each registered
addin. I've used the following code to do this for all installed addins but
I'm wondering if this can be done if the addin is not currently installed or
if their is a better way for getting installed addins project names. (using
Xl2000)

For Each ad In Application.AddIns
If ad.Installed And LCase(Right(ad.Name, 3)) = "xla" Then MsgBox
Application.Workbooks(ad.Name).VBProject.Name
Next ad
--
Cheers!

Richard Reye

"Never argue with an idiot. They'll bring you down to their level then beat
you with experience" - someone



All times are GMT +1. The time now is 01:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com