LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel startup macros - visibility of...



Sorry if this message has been repeated

Exactly how would you go about setting up a reference to MyAddIn?

Lets say you have an addin calles COMMON.xla with the class module
properties and the module Log.
The Log has a public function writeLog(str as String) that you want to
access from any workbook/sheet


Example:

Public MyAddIn ??? 'how to setup this reference to COMMON.xla?

Props as MyAddIn.properties

public Function someFunction() as boolean
Props = new MyAddIn.Properties

some_property = Props.<some access method_or_property

MyAddIn.Log.writeLog("some string") 'is this correct?

End Function

cheers,
g

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!


 
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
Lost visibility on the other worksheets in excel. Bojue Excel Discussion (Misc queries) 1 November 1st 09 03:55 AM
Excel pivot tables - specific expand/collapse buttons visibility MichaƂ Lenartowicz Excel Discussion (Misc queries) 1 October 19th 09 09:48 AM
Enable Macros question at Startup randys Excel Discussion (Misc queries) 1 January 18th 06 02:06 AM
Improve visibility of Excel AutoFilter Filter selections Cec Tarasoff Excel Worksheet Functions 0 June 22nd 05 08:56 PM
Excel 2002? Where to store code for all spreadsheet visibility? Colin Johnson Excel Programming 0 February 26th 04 03:17 PM


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