New to VBA
I am copying from an open workbook over to a closed workbook. It will paste values and formatting, but if I add paste special at the end of the range, I get "compile error - expected end statement". Help appreciated.
Sub vba_copy_Value_to_Inactive_Range()
Dim mybook As Workbook
Application.ScreenUpdating = False
Set wb = Workbooks.Open("E:\test file.xlsx")
ThisWorkbook.Sheets("Request").Range("E2").Copy Destination:=wb.Sheets("Request").Range("E4").PasteSpecial Paste:=xlPasteValues
mybook.Close SaveChanges:=True
Application.ScreenUpdating = True
End Sub