LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Reference Libraries

You don't use Option Explicit all the time?

You know you can set that in ToolsOptionsEditor tab, Require Variable
Declaration checkbox.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ben" (remove this if mailing direct) wrote in message
...
nevermind, stupid me, the worst of all errors, syntax was incorrect for

one
variable. sigh. I really need finish changing this project to option
explicit, thanks all

"ben" wrote:

hmmm ok it compliles ok runs ok but it just doesn't mail
anything................

"Fredrik Wahlgren" wrote:


"Bob Phillips" wrote in message
...
You are referring to late binding, which doesn't bind to the

application
type library at development/compile time, but makes multiple calls

at
runtime.

Essentially, rather than setting a reference to the type library via
ToolsReferences, and then declaring an object of type

Outlook.Application
or whatever, you create a generic Object variable and create that

object
rather than just New.

You lose access to the application's object model and intellisens

when you
do this, but there is another way, what I call Develop Early,

Release
Late.
An example is given (using Outlook) at
http://www.xldynamic.com/source/xld.EarlyLate.html

--


Develop Early, Release Late ? That sounds like something I want to
remember. Nice!

/Fredrik





 
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
Reference Libraries and Add-Ins Rich Excel Discussion (Misc queries) 3 June 26th 09 10:13 PM
Importing libraries Roro Excel Discussion (Misc queries) 0 April 7th 06 01:31 PM
Porting VBA Libraries MWE[_42_] Excel Programming 1 May 9th 04 11:51 PM
Urgent!!! -- Reference libraries Michelle Excel Programming 3 September 30th 03 02:07 AM
Object libraries Lionel Fridjhon Excel Programming 9 August 29th 03 01:20 PM


All times are GMT +1. The time now is 04:30 PM.

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"