We use a multi-thousand line VBA script to format a bunch of spreadsheets and it has been working perfectly for months. I recently added the code below and when it starts executing it goes much slower than everything else. I would say it maybe spend a half second on each one those cell formatting steps and the user has to sit there and watch it all.
1. Is there anything I can do to speed this up?
2. I have used very similar code in other modules and it works very fast, why would it become slower here?
Range("B2:G2").Select With Selection .MergeCells = True .Font.Size = 22 .Font.Bold = True .HorizontalAlignment = xlLeft .VerticalAlignment = xlCenter End With 'Name ActiveCell.FormulaR1C1 = PlotterGUI.txtName 'Date Range("H2").Select ActiveCell.FormulaR1C1 = "=TODAY()" With Selection .Font.Bold = True .HorizontalAlignment = xlRight .VerticalAlignment = xlCenter .Font.Size = 12 End With