Currently, we have a macro that stops and forces you to save the file when it switches between windows. We'd like it to be able to run all the way through without forcing this save option, any help on resolving this issue would be greatly appreciated. I've attached a portion of the VBA code and bolded the section that is forcing the issue.
Cells.Select
Range("M22").Activate
Cells.EntireColumn.AutoFit
Selection.ColumnWidth = 9.78
Cells.EntireColumn.AutoFit
Application.CutCopyMode = False
ChDir "J:\Macro Save As Files"
ActiveWorkbook.SaveAs Filename:="J:\Macro Save As Files\Taxability Test.xlsx" _
, FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
Range("M22").Select
Windows("monthlysales.xls").Activate
Range("C3").Select
ActiveCell.FormulaR1C1 = "ST"
Cells.Select
Range("M22").Activate
Cells.EntireColumn.AutoFit
Selection.ColumnWidth = 9.78
Cells.EntireColumn.AutoFit
Application.CutCopyMode = False
ChDir "J:\Macro Save As Files"
ActiveWorkbook.SaveAs Filename:="J:\Macro Save As Files\Taxability Test.xlsx" _
, FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
Range("M22").Select
Windows("monthlysales.xls").Activate
Range("C3").Select
ActiveCell.FormulaR1C1 = "ST"