plwhittington
Board Regular
- Joined
- May 10, 2007
- Messages
- 132
I have 22 identical worksheets for a financial report used by our businesses where Col A has categories, Cols B-J are used for numbers, and Col K is for comments.
Col K is configured to Wrap text (also, for 'TEXT ALIGNMENT', 'Left (Indent)' and 'Bottom' are selected). To print the report, there is a button with an assigned macro to format the report, then send to the printer or PDF. Part of the formatting process is to Autofit the entire row: Rows(RowNum & ":" & RowNum).EntireRow.AutoFit
In most of the reports (20 of 22), the Autofit command works fine. However, in the other two, not all of the comments are visible. The row expands some, but not enough to display all text.
Is there a way in the VBA code to make sure all text in Col K is visible before sending to the printer?
Col K is configured to Wrap text (also, for 'TEXT ALIGNMENT', 'Left (Indent)' and 'Bottom' are selected). To print the report, there is a button with an assigned macro to format the report, then send to the printer or PDF. Part of the formatting process is to Autofit the entire row: Rows(RowNum & ":" & RowNum).EntireRow.AutoFit
In most of the reports (20 of 22), the Autofit command works fine. However, in the other two, not all of the comments are visible. The row expands some, but not enough to display all text.
Is there a way in the VBA code to make sure all text in Col K is visible before sending to the printer?