We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Sub Main() Dim MYDOC_DIR As String On Error GoTo EH MYDOC_DIR = Environ("userprofile") & "\Desktop" Dim oWb As Excel.Workbook Set oWb = Application.Workbooks.Open(MYDOC_DIR & "\" & "FILE FROM ITS.xlsm") oWb.Sheets(1).Cells.Copy Sheets("Sheet1").Select Cells.Select ActiveSheet.Paste Application.CutCopyMode = False oWb.Close (False) Set oWb = Nothing Exit Sub EH: MsgBox Err.Description End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.