Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Referencing Code from another project

An Excel application containing modules creates another
workbook. At this point, the application looks like this:

vbaproject(aaa)
module1
module2

vbaproject(bbb)
sheet1
sheet2

From sheet1 in project bbb, I wish to call some code
contained in Module 1 of project aaa. How do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Referencing Code from another project

Application.Run "aaa.xls!MySubName"

--

Vasant



"Robert" wrote in message
...
An Excel application containing modules creates another
workbook. At this point, the application looks like this:

vbaproject(aaa)
module1
module2

vbaproject(bbb)
sheet1
sheet2

From sheet1 in project bbb, I wish to call some code
contained in Module 1 of project aaa. How do I do this?



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
Referencing .Net Remoting Services project in MS Excel Macro Shilpa Excel Discussion (Misc queries) 0 April 10th 06 11:44 AM
can vba import code to vba project ? Mike Iacovou Excel Programming 2 July 28th 04 10:12 AM
Removing all code from a Project Stuart[_5_] Excel Programming 5 June 30th 04 12:54 AM
unlock project with VBA code Konrad[_5_] Excel Programming 0 November 25th 03 08:50 PM
Discussion: VBA Project Code Protection Edwin Tam (MS MVP) Excel Programming 2 November 14th 03 01:24 PM


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