0

I am trying to add a formula to a cell via VBA but just getting Runtime-Exception 1004 without further information.

Cells(4, 3).Formula = "=IF('Mustermann, Max'!C13="""";"""";""impacting team targets"")"

Is there something wrong with my formula?

1 Answer 1

1

Need to use Comma instead of Semikolon.

Cells(4, 3).Formula = "=IF('Mustermann, Max'!C13="""","""",""impacting team targets"")"
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.