The macro below works for me most of the time, but making the clear contents and copy/paste ranges dynamic instead of stagnant would be ideal. I tried to accomplish this using a named range although couldn't get it to work. Can anyone please help me figure out how to update the A10:MH1000 and A1:MH1009 to a dynamic range? Any help would be greatly appreciated!
Sub Update_Tabs()
Dim w As Workbook
Dim x As Workbook
Dim vals As Variant
Set w = Workbooks.Open("C:\Workbookw.xlsx")
Set x = Workbooks.Open("G:\Workbookx.xlsx")
w.Sheets("Data").Range("A10:MH1000").ClearContents
vals = x.Sheets("Data").Range("A1:MH1009").Value
w.Sheets("Data").Range("A10:MH1000").Value = vals
w.Close
x.Close
End Sub