how to specify column widths in a list box through a VB module

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In a form I wish to set the column withs in a list box depending on the data
received from the row source.
When I use Me.lstEstimates.ColumnWidths "500;100;0"
it gives me the error that it can't compile with "Invalid use of property"
What am I missing ? This is in Access 2003
 
When I use Me.lstEstimates.ColumnWidths "500;100;0"
Try

Me.lstEstimates.ColumnWidths = "500;100;0"


You are missing the = in your example....
 

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

Back
Top