View Single Post
 
Old 05-02-2023, 09:37 AM
adamyawn adamyawn is offline Windows 10 Office 2021
Novice
 
Join Date: May 2023
Posts: 1
adamyawn is on a distinguished road
Default Update On This Code

I know this post was created ages ago, but it's worth noting that this line

.Columns(i + 1).PreferredWidth = ...

works better as

.Columns(i + 1).Width = ...

in terms of sizing each column. Thank you for sharing this code with everyone!
Reply With Quote