Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Substitute in Excel VBA
Hi, I'm a beginner for Excel VBA.
What I want to do is to take out the first 15 characters in column C, and copy the rest to clumn A. I have the following code, but VBA don't recognize substitute funciton. Help.... Cells(n, 1).Value = Substitute(Cells(n, 3).Value, Left(Cells(n, 3).Value, 15), "", 1) |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Substitute in Excel VBA
In VBA, it is Replace
Replace(expresssion, find_waht, replace_with) -- HTH Bob Phillips (there's no email, no snail mail, but somewhere should be gmail in my addy) "Angry Little Asian Bitch" wrote in message ups.com... Hi, I'm a beginner for Excel VBA. What I want to do is to take out the first 15 characters in column C, and copy the rest to clumn A. I have the following code, but VBA don't recognize substitute funciton. Help.... Cells(n, 1).Value = Substitute(Cells(n, 3).Value, Left(Cells(n, 3).Value, 15), "", 1) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do I substitute precedants in long excel formulas | Excel Worksheet Functions | |||
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE.... max. limit 8 :( | Excel Discussion (Misc queries) | |||
how do I substitute text in Excel? | Excel Worksheet Functions | |||
similar function for SUBSTITUTE in excel? | Excel Discussion (Misc queries) | |||
SUBSTITUTE (more than one in Excel ?) | New Users to Excel |