Quote:
	
	
		| 
			
				 
					Originally Posted by Bob Bridges
					
				 
				I think I'd try passing the checkbox object itself. 
			
		 | 
	
	
 
	Quote:
	
	
		| 
			
				 
					Originally Posted by NobodysPerfect
					
				 
				If that means 
	Code: 
	Private Sub CB1a_Click
  Call DoWithBox "CB1a"... 
  
			
		 | 
	
	
 Nope, that's just another way of trying to pass the 
name of the checkbox.  I think this would work:
	Code:
	Private Sub CB1a_Click
  DoWithBox CB1a
  .
  .
  .
 Then in DoWithBox something like 
	Code:
	Sub DoWithBox(cb)
  Select Case cb.Name
    Case "CB1a": 'do whatever
    Case "CB1b": 'do something else
    Case "CB2a": 'and so on
    End Select
  .
  .
  .
 I'm not saying that's the way I'd solve the original problem; but if I'd already decided to try to work based on the object name, then this is probably how I'd go about doing that.
Is there a way for a control in the form to refer to itself?  I think "Me" refers to the whole form, but maybe some object named "ThisControl" or something?  Might simplify coding.