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.
|Excel - lookup two values and return a value||3||30|
|WIthin VBA summing record count in 3 tabs||7||44|
|VBA - How to copy the data from workbook to workbook masterfile in VBA?||20||50|
|Excel Import/Export Named Ranges and Values||4||34|
Join the community of 500,000 technology professionals and ask your questions.