Did you change workSheet to something else? Let’s rule that out as the problem. You have a variable named the same as its type.
Did you change workSheet to something else? Let’s rule that out as the problem. You have a variable named the same as its type.