Hello,
I have range called MyRange which has its all cells lined up in a column; the cells are not sequential (they are like: A1, A5, A8, A11…).
I am trying to “Autofit Column Width” for the longest cell content in MyRange.
The standard “Autofit Column Width” is not good in my case because if in A2 (which is not part of "MyRange") I have a longer string than the max in "MyRange", than fits the column by A2 which is not what I want.
What code would do this?
Thank you
Bookmarks