I'm using VBA code in Excel 2003 and I set the height of a listbox at runtime. Unfortunately, the end result is different than what I programmed it to be.
A bit of debugging (stepping through line by line and watching the Locals window) reveals that the code in fact does initially set the height to the desired number. But each time the code sets another property of the listbox (RowSource, ColumnWidth, Font size) the height changes unexpectedly.
Any ideas?
A bit of debugging (stepping through line by line and watching the Locals window) reveals that the code in fact does initially set the height to the desired number. But each time the code sets another property of the listbox (RowSource, ColumnWidth, Font size) the height changes unexpectedly.
Any ideas?