View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Niek Otten Niek Otten is offline
external usenet poster
 
Posts: 3,440
Default Entering formulas containing quotation marks in VBA?

Use two quotes

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Gaetan" wrote in message ...
| 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