Hi frosty7700,
It may be that your problem is not in your code but the way you have Excel set up.
Click on "Tools", "Options", "View" and see if the "Formulas" check-box is checked. If it is, Excel will display the formula in a cell instead of the result...
Thanks for the response John.
My columns start with 1.
Here is a copy of the two subs that have to do with the error.
The error occurs in the second sub as noted in remark.
Sub GetNvcLbr()
Application.ScreenUpdating = False
vNvcNmbr =...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.