0

I am doing a vba macro to get data from sheets of an excel document, way that I do it:

Worksheets("EN").Range("5A").value

But for some reason Run Time Error 1004 is outputted. If I try to loop Worksheets elements and see the Name or Index value, all sheets are properly get, but when I try to get .Range("5A").value 1004 Error is outputted. For some reason, value command is with minus "v", if I try to put Value key, IDE automatically change the key "Value" to "value".

what can explain this behavior?

Thank you.

1
  • 2
    Worksheets("EN").Range("A5").value Commented Oct 31, 2017 at 14:33

1 Answer 1

1

It's Range("a5") not range("5a") Column letter then row number

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.