View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
DMc2004 DMc2004 is offline
external usenet poster
 
Posts: 11
Default Reusing Form Code

Hi

I have two forms, let says they are called:

* frmEmployee
* frmLocation

On both of these forms I have two Combo Boxes, one called cboLocation and
another called cboDepartment.

Both of these boxes are populated by code, so if somebody selects London
then the London Departments appears in the cboDepartment, if they select
Belfast another set of options appear.

I would like to place this code into a separate module but how do i
reference two different forms?

Regards