Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default Form/Module Code Question

Not being a trained programmer, I was just wondering if it is good practice
to write all the code in the form code section or is it better to jump from
the form code to a module to do the work after clicking on a command button
on the form ??

--
Les
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Form/Module Code Question

On Jun 28, 1:02 am, Les wrote:
Not being a trained programmer, I was just wondering if it is good practice
to write all the code in the form code section or is it better to jump from
the form code to a module to do the work after clicking on a command button
on the form ??

--
Les


Being a self-taught (although Microsoft certified - FWIIW) trainer, I
usually tell people to place their shared code in the module, and
place form-specific code in the form. That way they can simply move
the form to another project without having to take the module as well.
Less code bloat and more modular are my catchcries.

- David

Reply
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
sharing variables between form and module code TimK Excel Programming 2 May 10th 07 03:40 AM
Design Best Practices: Form Control Code in Worksheet or Module Bing Excel Programming 2 December 23rd 04 02:31 PM
Sheet code module question Stuart[_5_] Excel Programming 1 August 9th 04 07:14 AM
Updating form labels from code in a module news.verizon.net[_2_] Excel Programming 2 October 29th 03 04:03 AM
Copy form and code question Stuart[_5_] Excel Programming 2 August 17th 03 12:38 PM


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