Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dan dan is offline
external usenet poster
 
Posts: 866
Default get a list of ticked add-in

Hi,
I am trying to get a list of the selected add-in in an application, I have
tried:

For Each w in aAplication.Workbooks
debug.print w.Name
next w

It does return all the addins in the list - also the non selected (non
ticked).
An I am interested in only the ticked one
Any idea?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default get a list of ticked add-in

Dan,

You can use the "Installed" property to test whether an add-in is loaded
(checked in the list):

Dim AI As Excel.AddIn
For Each AI In Application.AddIns
If AI.Installed = True Then
Debug.Print "Loaded: " & AI.Name, AI.FullName
End If
Next AI


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Dan" wrote in message
...
Hi,
I am trying to get a list of the selected add-in in an application, I have
tried:

For Each w in aAplication.Workbooks
debug.print w.Name
next w

It does return all the addins in the list - also the non selected (non
ticked).
An I am interested in only the ticked one
Any idea?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dan dan is offline
external usenet poster
 
Posts: 866
Default get a list of ticked add-in


Thanks a lot

"Chip Pearson" wrote:

Dan,

You can use the "Installed" property to test whether an add-in is loaded
(checked in the list):

Dim AI As Excel.AddIn
For Each AI In Application.AddIns
If AI.Installed = True Then
Debug.Print "Loaded: " & AI.Name, AI.FullName
End If
Next AI


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Dan" wrote in message
...
Hi,
I am trying to get a list of the selected add-in in an application, I have
tried:

For Each w in aAplication.Workbooks
debug.print w.Name
next w

It does return all the addins in the list - also the non selected (non
ticked).
An I am interested in only the ticked one
Any idea?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing only 1 check box to be ticked Nadia Excel Discussion (Misc queries) 12 November 28th 09 10:55 PM
ticked items on Pivot tables Matt123 Excel Discussion (Misc queries) 1 October 11th 06 10:13 PM
validation list--list depends on the selection of first list Michael New Users to Excel 2 April 27th 06 10:23 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
Check box - if ticked copy data from one sheet to another automati rickerscote Excel Discussion (Misc queries) 0 April 14th 05 09:25 AM


All times are GMT +1. The time now is 08:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"