I'm trying to run the Marco listed below but it's not opening the specific folder for me to select the excel sheet I want it to copy...I have to Brower to it. How can I indicate that I want it to go to the following folder. C:\Users\olayo_000\Desktop\Supplements\Daily List
Sub Get_Data_From_File
Dim FileToOpen As Variant
Dim OpenBook As Workbook
FileToOpen = Application.GetOpenFilename(Title:="Browse for your File & Import Range")
If FileToOpen <> False Then
Set OpenBook = Application.Workbooks.Open(FileToOpen)
OpenBook.Sheets(1).Range("A1:B595").Copy
ThisWorkbook.Worksheets("NON GV FIs").Range("h6").PasteSpecial xlPasteValues
Application.CutCopyMode = False
OpenBook.Close False
End If
End Sub
Bookmarks