In Excel if you double-click a column on its right "border" you can auto-size the width to be the width of the largest value in that column.
How does one replicate this in VBA?
You can use the Macro Recorder to perform the action & see;
<range>.entirecolumn.autofit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With