I have an excel workbook that has multiple worksheets. When I open the workbook I always want a range to be cleared for example:
Range("A6:E300").Select
Selection.Clear
Also once I click on Refresh All to refresh each worksheet (each worksheet runs a query) I want each column in each worksheet to autofit.
Is there a simple way to do this in VBA?
Range("A6:E300").Select
Selection.Clear
Also once I click on Refresh All to refresh each worksheet (each worksheet runs a query) I want each column in each worksheet to autofit.
Is there a simple way to do this in VBA?