LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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)

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I substitute precedants in long excel formulas ognavtra Excel Worksheet Functions 1 April 17th 09 01:39 PM
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE.... max. limit 8 :( [email protected] Excel Discussion (Misc queries) 6 May 22nd 08 05:33 PM
how do I substitute text in Excel? Geordie Excel Worksheet Functions 8 October 25th 07 03:55 PM
similar function for SUBSTITUTE in excel? neb Excel Discussion (Misc queries) 3 September 8th 06 10:46 AM
SUBSTITUTE (more than one in Excel ?) Andy100 New Users to Excel 6 September 7th 05 06:20 AM


All times are GMT +1. The time now is 08:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"