• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Vlookup with now formula

Manjunath C

New Member
Please suggest me a code for below formula
"=VLOOKUP(RC[-1],'["Reason for not uploading in UAT_" & Format(Now(), "DD-MMM-YYYY") & ."xlsm"]Sheet4'!C1,1,0)"
 
Can't help you with code, but using NOW() will not help as it returns actual date AND time ( formatting will NOT affect the underlying value).
Use TODAY() instead
 
possibly:
Code:
.FormulaR1C1 = "=VLOOKUP(RC[-1],'[Reason for not uploading in UAT_" & Format(Now(), "DD-MMM-YYYY") & ".xlsm]Sheet4'!C1,1,0)"
 
Back
Top