I have 21 worksheets in a workbook and I can alter the zoom ratio with this code
however I also want to change column widths on all worksheets BUT this will not work
Where am I going wrong, please?
Code:
ActiveWorkbook.Sheets.Select
ActiveWindow.Zoom = 80
however I also want to change column widths on all worksheets BUT this will not work
Code:
ActiveWorkbook.Sheets.Select
Sheets("Fred").Activate
Columns("D:D").EntireColumn.AutoFit
Columns("F:F").EntireColumn.AutoFit
Columns("I:I").EntireColumn.AutoFit
Sheets("Bill").Activate
Where am I going wrong, please?