J
John
These quotes (") are driving me up the wall! I know there is so logic to
this but I just can't see it at the moment:
The following works when lstProps.List(i, 1) doesn't contain any " within
the string:
(eg lstProps.List(i, 1) = The book Zorro is old)
NewShpsCol(x).Cells("Prop." & lstProps.List(i, 0)).Formula = "=""" &
lstProps.List(i, 1) & """"
........but when you do get quotes in the string (eg lstProps.List(i, 1) =
The book "Zorro" is old) it falls over.
I thought I'd just add a " at either end, but no joy.
Can someone please explain what the rules are?
Thanks
John
this but I just can't see it at the moment:
The following works when lstProps.List(i, 1) doesn't contain any " within
the string:
(eg lstProps.List(i, 1) = The book Zorro is old)
NewShpsCol(x).Cells("Prop." & lstProps.List(i, 0)).Formula = "=""" &
lstProps.List(i, 1) & """"
........but when you do get quotes in the string (eg lstProps.List(i, 1) =
The book "Zorro" is old) it falls over.
I thought I'd just add a " at either end, but no joy.
Can someone please explain what the rules are?
Thanks
John