C
camron107
I have a formula i want VB to write into a cell i specify.
the only problem is, the formula has " in it... >>
ActiveCell.Offset(0, 8) = "=IF(LEFT(C2122) = "T", "N/A", IF(LEFT(C2122) = "V","N/A",HYPERLINK(("\\Gscc1\Rugby\Registration\Databases\Signatures\" &TEXT('Organisations A-F'!J2122,"00000")), "Signature of")))"
the two speech marks on the outsides of the formula interrupt with the speech marks i have as part of my formula...
i recieve "expected: end of statement" at "T" because it finds the second speech mark there... is there any way i can isolate the formula so it does not interfere?
thank you for your help
the only problem is, the formula has " in it... >>
ActiveCell.Offset(0, 8) = "=IF(LEFT(C2122) = "T", "N/A", IF(LEFT(C2122) = "V","N/A",HYPERLINK(("\\Gscc1\Rugby\Registration\Databases\Signatures\" &TEXT('Organisations A-F'!J2122,"00000")), "Signature of")))"
the two speech marks on the outsides of the formula interrupt with the speech marks i have as part of my formula...
i recieve "expected: end of statement" at "T" because it finds the second speech mark there... is there any way i can isolate the formula so it does not interfere?
thank you for your help