View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave Dave is offline
external usenet poster
 
Posts: 1,388
Default Line continuation.

Hi,XL2003
I have the following all on one line:

Range("A2") =
"=SUMPRODUCT(--(B$2:B$445=B2)*(C$2:C$445=C2)*(D$2:D$445=D2)*(G$2: G$445=G2)*(H$2:H$445=H2)*(I$2:I$445=I2))"

This line works fine as it is. But if I try to use the <space underscore
line continuation thingy somewhere in the line, the text turns red, and an
error message comes up: Compile error. Expected end of statement.
Is this normal VBA behaviour, or am I missing something?