My Open XML-based application creates a spreadsheet that contains a column with filenames. They vary in length and I would like to set the width of that particular column to precisely fit the longest filename.
Is there some Excel-specific way to measure the width of a string (with the current font, of course), in pixels?
TIA