Hi,
I am using some code to
1. Copy data from one sheet.
2. Open another file and select a specific tab
3. Pate the file
However it looks like I am making an error around the directory naming convention when i go to open the file i want to copy to. Can someone please tell me where I am going wrong? The File is called my Dashboard and is in my S Drive. i think once i get this part sorted I can do the rest, here is the code I have so far, thanks
Sub Copytodashboard()
Workbooks.Open ThisWorkbook.Path & "S:\Customer Data\Drawings\PDD\" & "My Dashboard.xlsm"
ActiveWindow.WindowState = xlMinimized
ThisWorkbook.Activate
End Sub
I am using some code to
1. Copy data from one sheet.
2. Open another file and select a specific tab
3. Pate the file
However it looks like I am making an error around the directory naming convention when i go to open the file i want to copy to. Can someone please tell me where I am going wrong? The File is called my Dashboard and is in my S Drive. i think once i get this part sorted I can do the rest, here is the code I have so far, thanks
Sub Copytodashboard()
Workbooks.Open ThisWorkbook.Path & "S:\Customer Data\Drawings\PDD\" & "My Dashboard.xlsm"
ActiveWindow.WindowState = xlMinimized
ThisWorkbook.Activate
End Sub