Hi,
in Excel I'm using formula:
Now in VBA I did like:
and it's ok.
How can I directly assign value from formula to my variable???
I had something like below but is wrong :/
in Excel I'm using formula:
Rich (BB code):
A2 = REPLACE(A1,1,FIND(":",A1),"").
Now in VBA I did like:
Rich (BB code):
ws.Range("A2").Value =
Rich (BB code):
"REPLACE(A1,1,FIND("":"",A1),"""")"
How can I directly assign value from formula to my variable???
I had something like below but is wrong :/
Rich (BB code):
Dim new_value as String
new_value = "REPLACE(A1,1,FIND("":"",A1),"""")"