Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.
Sub Get_Data() Dim wbk As Workbook Dim destWbk As Workbook Set destWbk = ActiveWorkbook FileToOpen = Application.GetOpenFilename _ (Title:="Please choose the previous file to import", _ FileFilter:="Excel Files *.xls (*.xls),") '' If FileToOpen = False Then MsgBox "No file specified.", vbExclamation, "Duh!!!" Exit Sub Else Set wbk = Workbooks.Open(FileToOpen) End If ' Need to copy the source and paste it 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.