#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Addin Name

Hi All,

I've got a sub the gets the user to open a file that is an addin like file
however I can't get the Name property of the addin to be able to reference
it. So, is the a way to get this name?

Jason
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Addin Name

Hi Jason

I take it the addin is not an installed addin and your code already
successfully opens the file. To run a proc' in this addin from elsewhere
something like

Application.Run "MyAddinName.xla!Module1.proc_name"

add any arguments separated by comma's

If your addin is always loaded, eg installed, and you are only using other
code in the same system then you could set a reference in Tools/References
to the project name of the addin. Beforehand ensure the addin has a unique
project name. In code that already has the reference set -

myAddinProjectName.proc_name

or if you are sure "proc_name" is not duplicated in any other referenced
file, simply

proc_name

Regards,
Peter T

"Jason Zischke" wrote in message
...
Hi All,

I've got a sub the gets the user to open a file that is an addin like file
however I can't get the Name property of the addin to be able to reference
it. So, is the a way to get this name?

Jason



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
Addin Help alexm999 Excel Discussion (Misc queries) 4 July 25th 06 08:27 PM
vb6 addin msnews.microsoft.com[_8_] Excel Programming 0 October 26th 05 12:03 PM
Remove Excel AddIn from AddIn List !! Help carl Excel Programming 2 December 8th 03 03:36 PM
AddIn Robin Clay[_2_] Excel Programming 0 September 10th 03 11:36 AM
AddIn Robin Clay[_2_] Excel Programming 6 September 8th 03 11:08 AM


All times are GMT +1. The time now is 03:45 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"