I'm obviously missing a fundamental concept. I have reduced my problem down to a few lines of code, and still can't solve it.
I'm drowning - please help!
Code:
Sub tstSbScrptRng()
Dim wkBk As Workbook
Dim sPath As String
Dim sFile As String
sPath = "C:\Users\ibud0\Documents\"
sFile = "Garbage.xlsx"
Set wkBk = Workbooks(sPath & sFile)
' Last statement gets "Subscript out of range" compile error message
End Sub
I'm drowning - please help!