LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 196
Default calling from one workbook the classes and functions in another

I have a workbook loaded (mylibs.xls) that may become an add in. I also have another workbook loaded (mywork.xls) that would like to use classes and public methods defined in mylibs

mylibs contains models and classes and defines such items as
Public aworker As clsAWorker (clsAWorker is defined in mylibs
Public helpfulList As Scripting.Dictionar
Public function doSomething(arg1 as integer) as integer {...} (defined in a mylibs module

From within mywork I want to access the public items of mylibs but when i try to reference the items the VBA pre-processor errors out. How do you refence and use VBA objects in an external workbook

Thanks
 
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
Calling functions from dll T.K Kullervo Excel Programming 0 September 29th 03 09:55 AM
Calling Add-in functions from VBA Mark[_21_] Excel Programming 5 September 12th 03 08:49 PM
Calling certain functions within VBA Ron de Bruin Excel Programming 0 August 11th 03 10:32 PM
Calling certain functions within VBA james Excel Programming 0 August 11th 03 10:27 PM
Calling VBA functions from a xll Kim[_8_] Excel Programming 2 August 3rd 03 11:48 AM


All times are GMT +1. The time now is 03:10 AM.

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

About Us

"It's about Microsoft Excel"