Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you Reference a column in a list box other than the first one 1

Status
Not open for further replies.

bddewell408

Technical User
Jul 25, 2003
56
US
Here is the reference point:

Forms![frmMainMenu]![List8]

I wish to put in a condition in a macro to reference Column 7 in List8

Forms![frmMainMenu]![List8] (column7)="None"

Any suggestions, it is easiest for me to macros as i do not know how to write code

Thanks in advance
 
Forms![frmMainMenu]![List8].Column(6)="None"

So lookup the Column property (highlight,hit F1). Column and Rows begin at 0, so column 7 is 6. Look at the examples.
 
Thanks very much, I won't be able to try this for a couple days, but thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top