rob_sheeds
Board Regular
- Joined
- Dec 9, 2010
- Messages
- 57
This line lies within this sub below....what is it doing as it doesnt work properly....
Sheets("Sheet" & i).Cells.Value = Sheets("Sheet" & i).Cells.Value
Comes from Sub:
Dim i As Long
Workbooks.Open Filename:= _
"C:\Users\rsheedy\Desktop\Daily Sales\Daily Sales Report NEW Open Sales Orders - Copy.xlsm"
ActiveWorkbook.SaveAs Filename:="R:\Reports\Archive\Daily Sales Reports\May 2011\DSR_" & Format(Date, "DDMMYYYY") & ".xlsm", _
FileFormat:=52, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
With ActiveWorkbook
For i = 1 To 6
Sheets("Sheet" & i).Cells.Value = Sheets("Sheet" & i).Cells.Value
Next i
End With
Sheets("Sheet" & i).Cells.Value = Sheets("Sheet" & i).Cells.Value
Comes from Sub:
Dim i As Long
Workbooks.Open Filename:= _
"C:\Users\rsheedy\Desktop\Daily Sales\Daily Sales Report NEW Open Sales Orders - Copy.xlsm"
ActiveWorkbook.SaveAs Filename:="R:\Reports\Archive\Daily Sales Reports\May 2011\DSR_" & Format(Date, "DDMMYYYY") & ".xlsm", _
FileFormat:=52, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
With ActiveWorkbook
For i = 1 To 6
Sheets("Sheet" & i).Cells.Value = Sheets("Sheet" & i).Cells.Value
Next i
End With