Autosizing a Cell
I have three cells that contain names and are populated with a vlookup
formula. Some of the names are larger than the cells current size. Is there a way, in either Excel or VBA, to autosize the cell this way I can add that code to my macro before it prints to ensure the whole name is being shown for each person. Thanks, Scott |
Autosizing a Cell
How about:
Range("A1:A3").Columns.AutoFit RBS wrote in message ups.com... I have three cells that contain names and are populated with a vlookup formula. Some of the names are larger than the cells current size. Is there a way, in either Excel or VBA, to autosize the cell this way I can add that code to my macro before it prints to ensure the whole name is being shown for each person. Thanks, Scott |
All times are GMT +1. The time now is 06:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com