Entering formulas containing quotation marks in VBA?

G

Gaetan

Anyone would know how I would go about entering this formula in a cell using
VBA? I'm having problem with the fact that there's quotation marks in the
formula...

=IF(H52="-",0,IF(I52="X",2,IF(H52<=E52+0.0205,2,1)))

Thanks for your help!

....Gaetan
 
N

Niek Otten

Use two quotes

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| Anyone would know how I would go about entering this formula in a cell using
| VBA? I'm having problem with the fact that there's quotation marks in the
| formula...
|
| =IF(H52="-",0,IF(I52="X",2,IF(H52<=E52+0.0205,2,1)))
|
| Thanks for your help!
|
| ...Gaetan
 
Top