Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / February 2006

Tip: Looking for answers? Try searching our database.

WorkBook VS General Module

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Desert Piranha - 23 Feb 2006 05:01 GMT
Hi All,

Question is for either WorkBook Open or WorkBook Close.

Scenario # 1:
Code in WorkBook Open.

Scenario # 2:
Code in General Module with a Call in WorkBook Open.

Is there any advantages or disavantages to either scenario, other than
the call method uses more code?

Signature

Desert Piranha

Bob Phillips - 23 Feb 2006 08:26 GMT
Both are workable, but scenario #2 is more general as that procedure can
easily be called elsewhere. Personally, I try to just use the event code in
Thisworkbook, and any common routines that get called are put in a general
module.

Signature

HTH

Bob Phillips

(remove nothere from email address if mailing direct)

> Hi All,
>
[quoted text clipped - 8 lines]
> Is there any advantages or disavantages to either scenario, other than
> the call method uses more code?
Desert Piranha - 24 Feb 2006 03:41 GMT
Hi Bob,

Thanks for your info, i appreciate it.

Thanks
Dave
Bob Phillips Wrote:
> Both are workable, but scenario #2 is more general as that procedure
> can
[quoted text clipped - 38 lines]
> > View this thread:
> http://www.excelforum.com/showthread.php?threadid=515617

Signature

Desert Piranha

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.