LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default Late Binding examples of binding excel application

Bob

I agree it is debatable and particularly when only controlling Excel from
within itself, but with automation I find it essential. I once had a real
issue while trying to automate Outlook from Excel and failing to release the
variables left the process(es) open. This may have been version specific,
but find it always best practice, for the time it takes to explicitly
release object variables Just my £0.02 really

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"Bob Phillips" wrote in message
...

"HeatherO" wrote in message
...
Thanks Nick. Like I told Bob I am slowly but surely starting to

understand
this a little. This is very different from RPG and stuff. So I just
have

to
set the reference once and then I can use those object variables as I

would
have if I had typed it using the excel library. I never thought of

clearing
the object variables at the end but that would be a good practice for me

to
do since it could cause problems.


It is debatable as to whether this is necessary. If you have finished with
an object and you have lots more work to do, no question it is a good
practice to release that resource, but at the end of an app?

I have been here before, and here is a little discussion between Dick
Kusleika and myself, that you can read at
http://tinyurl.com/6gknq






 
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
Late Binding issue with Excel.Application object [email protected][_2_] Excel Discussion (Misc queries) 2 August 4th 09 08:10 AM
late binding in excel Grey Excel Programming 2 May 24th 04 08:26 AM
late binding in excel Grey Excel Programming 3 May 22nd 04 05:15 PM
EARLY binding or LATE binding ? jason Excel Programming 6 February 26th 04 04:57 PM
DAO objects with late binding in Excel? Chris Excel Programming 0 August 21st 03 07:28 PM


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