ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formula is evaluated as a constant instead of a formula (https://www.excelbanter.com/excel-programming/371621-formula-evaluated-constant-instead-formula.html)

jb

Formula is evaluated as a constant instead of a formula
 
ActiveCell.FormulaR1C1 = _
"=LOOKUP(RC[1],'[Account Listing Report by
Cardholder.xls]List'!R2C2:R98C2,'[Account Listing Report by
Cardholder.xls]List'!R2C1:R97C1)"

This formula is not returning results it is only showing up as text.

What can I do to fix this?


Dave Peterson

Formula is evaluated as a constant instead of a formula
 
with activecell
.numberformat = "General"
.formular1c1 = ....
end with

jb wrote:

ActiveCell.FormulaR1C1 = _
"=LOOKUP(RC[1],'[Account Listing Report by
Cardholder.xls]List'!R2C2:R98C2,'[Account Listing Report by
Cardholder.xls]List'!R2C1:R97C1)"

This formula is not returning results it is only showing up as text.

What can I do to fix this?


--

Dave Peterson

jb

Formula is evaluated as a constant instead of a formula
 

Thank you. It's fixed



All times are GMT +1. The time now is 09:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com