Sub t()
Workbooks(1).Range("A:AS").Copy Workbooks(2).Range("A1")
End Sub
Sub Copy_Data()
Application.ScreenUpdating = False
Workbooks("Book1").Sheets(1).Range("A:AS").Copy Workbooks("Book2").Sheets(1).Range("A:AS")
Application.ScreenUpdating = True
End Sub
Since you gave us no complete Workbook names with extensions.
Modify this script to meet your needs.
This is assuming both Workbooks are open.
Code:Sub Copy_Data() Application.ScreenUpdating = False Workbooks("Book1").Sheets(1).Range("A:AS").Copy Workbooks("Book2").Sheets(1).Range("A:AS") Application.ScreenUpdating = True End Sub
Sub CopyData()
Application.ScreenUpdating = False
Workbooks("Update.xlsm").Sheets(Sheet1).Range("A:AS").Copy Workbooks("Final.xlsm").Sheets(Sheet1).Range("A:AS")
Application.ScreenUpdating = True
End Sub
Since you gave us no complete Workbook names with extensions.
Modify this script to meet your needs.
This is assuming both Workbooks are open.
Code:Sub Copy_Data() Application.ScreenUpdating = False Workbooks("Book1").Sheets(1).Range("A:AS").Copy Workbooks("Book2").Sheets(1).Range("A:AS") Application.ScreenUpdating = True End Sub
Sub CopyData()
Application.ScreenUpdating = False
Workbooks("Update.xlsm").Sheets(Sheet1).Range("A:AS").Copy Workbooks("Final.xlsm").Sheets(Sheet1).Range("A:AS")
Application.ScreenUpdating = True
End Sub
@My Aswer Is This, it looks to me like it is your script with the actual workbook names substituted. @pwill, You need quote marks around your sheet names to make them string values.Are you asking questions about my script or the other post you showed here?
And my script worked for me but you must see I used generic terms since you did not give specific workbook names.
Did you try my script?
Sub CopyData()
'Modified 1-26-18 8:15 PM EST
Application.ScreenUpdating = False
Workbooks("Update.xlsm").Sheets("Sheet1").Range("A:AS").Copy Workbooks("Final.xlsm").Sheets("Sheet1").Range("A:AS")
Application.ScreenUpdating = True
End Sub