Thanks mrice. Not sure exactly what to do with this but I am trying
If ThisWorkbook.Path = "\\WestcoastServer\Folder1\Folder2" Then
Application.Workbooks.Open ("\\EastcoastServer\Folder1\Folder2\Folder3\Folder4\FileName1.xls")
file_name = ActiveWorkbook.Name
MsgBox ThisWorkbook.Path
End If
The MsgBox is just to let me know when the code reaches that point, but I am having trouble opening 2 files with the same name. I only need to copy Sheet1 on the remote workbook. Is there a way to copy remote Sheet1 to the Local workbook to replace Local Sheet1? If not, how would I change the name of the remote workbook as it is being opened so there isn't a name conflict with the local workbook name? Would also need to check the time stamp to ensure only the latest saved workbook is used to copy Sheet1 from. I don't want to copy an older Sheet1 to a workbook with a newer Sheet1.
Thanks,
Andrew
Bookmarks