Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default substitute chatracters within a cell

For example:

If cell A1=http://google.com/help=me

I want to replace all '/' and '=' with $

so A1=http:$$google.com$help$me

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default substitute chatracters within a cell

Range("A1") = Replace(Replace(Range("A1").Text,"\","$"),"=","$")

--
Regards,
Tom Ogilvy


"Shan" wrote:

For example:

If cell A1=http://google.com/help=me

I want to replace all '/' and '=' with $

so A1=http:$$google.com$help$me


Reply
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 use IF to substitute for another cell? Tim Excel Worksheet Functions 1 October 24th 09 05:44 PM
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE.... max. limit 8 :( [email protected] Excel Discussion (Misc queries) 6 May 22nd 08 05:33 PM
Using SUBSTITUTE multiple times on single cell of data Cameron Excel Discussion (Misc queries) 1 December 6th 06 11:58 PM
substitute the filename in a cell reference with a string in another cell. flummi Excel Discussion (Misc queries) 11 February 22nd 06 01:14 PM
Substitute ,replace and delete in a cell. Doug Excel Worksheet Functions 2 November 9th 05 03:50 PM


All times are GMT +1. The time now is 09:15 PM.

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

About Us

"It's about Microsoft Excel"