Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1070
DefaultRowHeight for Excel Worksheet does not seem to work as expected
posted

When I set the DefaultRowHeight property on the Excel Worksheet object to 300 twips, the actual RowHeight when I save the Workbook and open it is 12.75. 300 twips should give a RowHeight of 15, which is 300/20. I find that If I set the DefaultRowHeight to a much higher value, like 700 it works. For this case, the rows all have a height of 35 when I open the saved workbook. I need the RowHeight to be 15. I can get it to work by setting the RowHeight of each individual row to 300, but I'm wondering why the DefaultRowHeight property doesn't work for this specific value.

thanks,