I have these declarations at the beginning of my code:
Sub Transfer__Data()
Dim ws1 As Worksheet: Set ws1 = Sheets("Input Data")
Dim ws2 As Worksheet: Set ws2 = Sheets("Sample Report")
Dim dDate As Date
Dim iShift As Integer
Dim rFind As Range
Dim startaddress As String
What i would like to change what is in bold, Set ws1 = Sheets("Input Data"). This designates the worksheet "Input Data" as the source. I want to change this to a different sheet in a different workbook with know file path (example: C:\Users\Documents)
I only want to read data from this workbook, so only open it as "Read-only"
Thank you
Bookmarks