kainfriends
New Member
- Joined
- Jun 25, 2013
- Messages
- 2
Hello!
I am creating an excel spreadsheet that will update numbers based product id and product type.
i identify the column by concantenating both into a new cell which is my index.
currently i have VBA primed to add more columns but i have trouble with this one little piece.
testval = ("CONCANTENATE(" & add1 & ","" """ & "," & add2& ") ")
Where add1 = M2, and add2 = M4
the expected output
testval = "CONCANTENATE(M2," ",M4)
I currently get a compile error "expected"
i have tried removing the end part
testval = ("CONCANTENATE(" & add1 & ","" """ & "," & add2)
and it yields
"CONCANTENATE(M2," ",M4"
i am still testing and i don't know if the formula will work without the closing parentheses
thanks for your help in advance
I am creating an excel spreadsheet that will update numbers based product id and product type.
i identify the column by concantenating both into a new cell which is my index.
currently i have VBA primed to add more columns but i have trouble with this one little piece.
testval = ("CONCANTENATE(" & add1 & ","" """ & "," & add2& ") ")
Where add1 = M2, and add2 = M4
the expected output
testval = "CONCANTENATE(M2," ",M4)
I currently get a compile error "expected"
i have tried removing the end part
testval = ("CONCANTENATE(" & add1 & ","" """ & "," & add2)
and it yields
"CONCANTENATE(M2," ",M4"
i am still testing and i don't know if the formula will work without the closing parentheses
thanks for your help in advance