tags:

views:

36

answers:

3

I want to make a formula with a & inside it but VBA thinks its a concatenate symbol

""&"" does not work, are there any other tricks?

A: 

How about just this:

dim s as string
s = "my_complicated_formula" & "&" & "and_another_formula"
AngryHacker
A: 
s="foo" & Chr(38) & "bar"

Where chr(38) = &

That doesn't look right
A: 
...All_Models!$B$2:$B$" & nrow & ",""<=""&" & "Elasticity!A" & iRow & ")"
Dick Kusleika