This line works normally in excel 2010, and doesn’t work in excel 2007 – on another comp.
For Each ws In ThisWorkbook.Sheets...
Compile Error: Can’t find property or library
“ws” is marked in yellow
What could be the reason, pls ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The reason could be any missing reference in
Tools -> References(indicated byMISSING:in front of it).Fix any missing references, and it will be gone.