Capture Current Selection in a Combo Box

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Randy (john.public1_at_comcast.net)
Date: 08/06/04


Date: 5 Aug 2004 21:57:49 -0700

Hi,

I'm trying capture the current selection from a combo box (from the
Control Toolbox, not Forms). Example:

    MySelection = ComboBox1.Value

I don't know how to refer to the combo box. I'm getting a compile
error (variable not defined). Please note, I am not working in the
private subroutine. I am working outside of the combo box code in a
general module.

TIA
Randy Eastland


Quantcast