Immediate Window code --> listbox value

G

Guest

I am attempting to debug my form. I know there is a way to use the immediate
window to return the values of listboxes (lstRMonth, lstRYear) on my open
form.

Thanks in advance!
 
C

chris.nebinger

?Screen.ActiveForm.Controls("lstRMonth"),
Screen.ActiveForm.Controls("lstRYear")


Chris Nebinger
 
C

chris.nebinger

?Forms("FormName").Controls("lstRMonth"),Forms("FormName"),Controls("lstRYear")


Chris Nebinger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top