In VB, I try to set the ListWidth property of a combo box to a certain value, and I want it in inches. I have
Me![comboBox].ListWidth = "1.125 in" and I get the "must be a number error, but if i dont include the ' in' it uses the wrong measurement. What do I need to do to tell it INCHES...Is there an escape character when using strings in VB so you can have a " in it...i know in other languages you can have String = "blah \"blah\" blah" to have the string
blah "blah" blah
but can you do that in VB? I tried \ but it didn't work
Thanks
Me![comboBox].ListWidth = "1.125 in" and I get the "must be a number error, but if i dont include the ' in' it uses the wrong measurement. What do I need to do to tell it INCHES...Is there an escape character when using strings in VB so you can have a " in it...i know in other languages you can have String = "blah \"blah\" blah" to have the string
blah "blah" blah
but can you do that in VB? I tried \ but it didn't work
Thanks