Hello. I have some VBA script that contains an Excel formula that is not working for me. If I copy the formula directly into Excel and run it I get the correct result. If I run it from VBA I just get a '0' (zero) in the cell. Thanks.
My script:
' For Each cell In [Q2:Q3]
' cell.Formula = "=(LEFT(Q2,1)="";"",RIGHT(Q2,LEN(Q2)-1),Q2"
' Next cell
Bookmarks