I'm trying to input ColumnWidths for a listbox in MS-Access2007 VBA and I'm having a problem getting it to take decimal numbers.
Code:
ResultList.ColumnWidths = "1;0.65;0.7;0.7;0.8;0.4"
Debug.Print ResultList.ColumnWidths
What gets put in for the ColumnWidths:
1;1;1;1;1;0
The way I want to get it to look after entered (based on what's there now):
1";0.65";0.7";0.7";0.8";0.4"
Question:
How do I get it to recognize that I want the decimals there so that it stops rounding? Is there a way to have quotation marks inside the string you want to enter?