Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Code for Registering Add-in


Dear forum

I have excel addin (said first.xla).
some codes in first.xla refer to other procedure in second.xla

How to register second.xla and make this file listed in "References
VBA-Project" with visual basic ?

thanks advance

znl


--
zainul_ulum
------------------------------------------------------------------------
zainul_ulum's Profile: http://www.excelforum.com/member.php...o&userid=24476
View this thread: http://www.excelforum.com/showthread...hreadid=386320

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Code for Registering Add-in



change the VBAProject Names for your addins to s't meaningfull
via properties window " e.g. "MyInterface" resp "MyFunctions"

Then activate First.xla (the caller) then via Tools/References
select the reference to MyFunctions and CHECK it.





--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


zainul_ulum wrote :


Dear forum

I have excel addin (said first.xla).
some codes in first.xla refer to other procedure in second.xla

How to register second.xla and make this file listed in "References
VBA-Project" with visual basic ?

thanks advance

znl

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Code for Registering Add-in


Dear keepITcool,

Your steps still apply set references manually.
Is it possible to make these steps easier in vba codes ?

---
znl


--
zainul_ulum
------------------------------------------------------------------------
zainul_ulum's Profile: http://www.excelforum.com/member.php...o&userid=24476
View this thread: http://www.excelforum.com/showthread...hreadid=386320

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Code for Registering Add-in

yes

see
Activeworkbook.VBProject.References.AddFromFile


but since you're writing to the VB Project you're dependent
on the user's setting of Allow Accesss to Visual Basic Project
in macro security options.






--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


zainul_ulum wrote :


Dear keepITcool,

Your steps still apply set references manually.
Is it possible to make these steps easier in vba codes ?

---
znl

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
Registering an even handler John Davidson Excel Programming 0 June 1st 04 08:49 PM
Registering an OCX with VBA Viswanath Tumu Excel Programming 2 April 18th 04 10:16 AM
ActiveX registering problem with VBA Igor Tandetnik Excel Programming 0 February 11th 04 03:32 PM
ActiveX registering problem with VBA Keith Willshaw Excel Programming 0 February 11th 04 03:07 PM
error in registering msadox.dll Sameer S. Ali Excel Programming 0 September 27th 03 12:09 AM


All times are GMT +1. The time now is 02:42 AM.

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"