During the Macro with the following code, as it opens files associated it prompts
"do you want to update",
When it closes files during macro, it asks if I want to save,
and it also prompts me whether I want to save contents of clipboard to paste later. I'd like to add into the code to automatically select "NO" to all of the above prompts.
Here's the current code:
Sub ImportEvents()
'
' ImportEvents Macro
'
'
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-2-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-1-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-2-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-3-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-2-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-3-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-4-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-3-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-4-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-5-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-4-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-5-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-6-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-5-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-6-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-7-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-6-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-7-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-8-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-7-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-8-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-9-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-8-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-9-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-10-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-9-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-10-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-11-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-10-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-11-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-12-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-11-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-12-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-13-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-12-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-13-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-14-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-13-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-14-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-15-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-14-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-15-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-16-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-15-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-16-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-17-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-16-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-17-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-18-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-17-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-18-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-19-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-18-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-19-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-20-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-19-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-20-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-21-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-20-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-21-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-22-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-21-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-22-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-23-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-22-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-23-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-24-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-23-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-24-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-25-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-24-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-25-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-26-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-25-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-26-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-27-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-26-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-27-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-28-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-27-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-28-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-29-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-28-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-29-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-30-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-29-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-30-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jul\7-1-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-30-11").Select
Cells.Select
ActiveSheet.Paste
Windows("7-1-11.xls").Activate
ActiveWindow.Close
End Sub
"do you want to update",
When it closes files during macro, it asks if I want to save,
and it also prompts me whether I want to save contents of clipboard to paste later. I'd like to add into the code to automatically select "NO" to all of the above prompts.
Here's the current code:
Sub ImportEvents()
'
' ImportEvents Macro
'
'
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-2-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-1-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-2-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-3-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-2-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-3-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-4-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-3-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-4-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-5-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-4-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-5-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-6-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-5-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-6-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-7-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-6-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-7-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-8-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-7-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-8-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-9-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-8-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-9-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-10-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-9-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-10-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-11-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-10-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-11-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-12-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-11-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-12-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-13-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-12-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-13-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-14-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-13-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-14-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-15-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-14-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-15-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-16-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-15-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-16-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-17-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-16-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-17-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-18-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-17-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-18-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-19-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-18-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-19-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-20-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-19-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-20-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-21-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-20-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-21-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-22-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-21-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-22-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-23-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-22-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-23-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-24-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-23-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-24-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-25-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-24-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-25-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-26-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-25-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-26-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-27-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-26-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-27-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-28-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-27-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-28-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-29-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-28-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-29-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jun\6-30-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-29-11").Select
Cells.Select
ActiveSheet.Paste
Windows("6-30-11.xls").Activate
ActiveWindow.Close
'Next Day
Workbooks.Open Filename:="H:\Morning Reports 2011\Jul\7-1-11.xls", _
UpdateLinks:=0
Sheets("Flare & Vent Tracking").Select
Cells.Select
Selection.Copy
Windows("Plant Flare & Vent Consolidated 06-11.xlsm").Activate
Sheets("6-30-11").Select
Cells.Select
ActiveSheet.Paste
Windows("7-1-11.xls").Activate
ActiveWindow.Close
End Sub