How to insert formula in FormulaR1C1 format with quotes in it

Q- How to insert formula in FormulaR1C1 format with quotes (" ") in it

A- Use Double Quotes in the formula.


Range("B6", Cells(lng_lastrow_2, 2)).FormulaR1C1 = "=TEXT(RC[2],""MMM"")"

Comments

Popular posts from this blog

Power Automate - Automatically fetch data from Power BI in to Excel and Send the copy of the Excel file via Email

Separate Text (Characters) & Numbers from Alpha Numeric String Using Formula and Macro (VBA)

File System Object