I have a macro that fills out an Excel spreadsheet. The layout of the spreadsheet (fonts, column widths, etc.) is locked. The data is dynamic and is extracted from a database.
In the macro, I build a string, which must then be placed into a cell. How can I determine the length of the string in pts (twips, inches, anything)? Why? If the string is longer than the cell into which it is to be placed, I will need to manually break the string and place it into more than one cell.
Thanks.
In the macro, I build a string, which must then be placed into a cell. How can I determine the length of the string in pts (twips, inches, anything)? Why? If the string is longer than the cell into which it is to be placed, I will need to manually break the string and place it into more than one cell.
Thanks.