Thread
:
The syntax for programmatically inserting a "/" in the middle of a concatenated cell
View Single Post
#
2
Posted to microsoft.public.excel.programming
Zone
external usenet poster
Posts: 269
The syntax for programmatically inserting a "/" in the middle of a concatenated cell
[a1] = [a2] & "/" & [a3]
Note there is a space before and after the &. Of course, you could use
the Range("A1") notation instead of [a1] if you prefer. James
wrote:
Hello--Does anyone know the syntax for programatically inserting a "/"
between the two added numbers of a concatenated cell? I want the value
of, say, Range("a1") to equal the value of range ("a2") "/" range
("a3"). What is the syntax for telling excel to insert the slash?
A stripped down version of my code looks like this :
Sub Concat()
Range("a1").Formula = "=Value(A2&A3)"
End Sub
I want the "/" between A2 and A3.
Does anyone know the syntax?
Reply With Quote
Zone
View Public Profile
Find all posts by Zone