View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Rech Jim Rech is offline
external usenet poster
 
Posts: 2,718
Default compile error problem

Do you intend this?:

ActiveCell.Formula = "=IF(B3<""\"",J" & i & "*R" & i & "+S" & i & ",""\"")"

--
Jim
"DKY" wrote in message
...
|
| I keep getting a compile syntax error on this line of my macro.
|
| ActiveCell.FORMULA = "=IF(B3<\"\",(J" & i & "*R" & i & ")+S" &
| i,\"\")
|
| what am I missing?
|
|
| --
| DKY
| ------------------------------------------------------------------------
| DKY's Profile:
http://www.excelforum.com/member.php...o&userid=14515
| View this thread: http://www.excelforum.com/showthread...hreadid=393284
|