LouBalleweg
Programmer
I get the subject error when the following line executes.
[With Workbooks(sWorkBookName).Sheets(sSheetName).Columns
(1)]
The Workbook has already been opened. I have confirmed the values of the string variables sWorkBookName and sSheetName for spelling and syntax errors. This same line of code works on one computer but not another. I Thought it might have something to do with file structure, but didn't find anything there either.
[With Workbooks(sWorkBookName).Sheets(sSheetName).Columns
(1)]
The Workbook has already been opened. I have confirmed the values of the string variables sWorkBookName and sSheetName for spelling and syntax errors. This same line of code works on one computer but not another. I Thought it might have something to do with file structure, but didn't find anything there either.