Jump to content
Sign in to follow this  

Excel quotes in formula

Recommended Posts



I'm trying to write a formula in Excel but it appears for some reason with single quotes on the values:

(The formula compares between values of two cells, in this case A4 and E4 and the result should be at cell 4,4)

The code in Autoit:

_ExcelWriteFormula($oExcel, "=EXACT(A4:E4)",4,4)

The Formula content as it appears in Excel function bar after execution:


This leads to "#NAME?" result in the excel

Does anyone know how to solve this?


Share this post

Link to post
Share on other sites

Solved it

I used _ExcelWriteCell instead of _ExcelWriteFormula

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.