Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Change value in a string

Hi

If i have
$A$6:$A$15 in a string

And i whant to change A to T
how can i easy do that?

Alvin



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Change value in a string

On Sun, 12 Feb 2006 12:00:28 -0800, alvin Kuiper
wrote:

Hi

If i have
$A$6:$A$15 in a string

And i whant to change A to T
how can i easy do that?

Alvin



Perhaps something like:

=SUBSTITUTE("This is a string: $A$6:$A$15","$A$","$T$")

--This is a string: $T$6:$T$15



--ron
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Change value in a string

Hi Alvin,

Assuming your string is located in A1 :
=SUBSTITUTE(A1,"A","T")
will do the job ...

HTH
Cheers
Carim

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Change value in a string


Use Edit Replace and replace A with T


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=511517

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Change value in a string

Are doing it in VBA? In xl2000 or later

s = "$A$6:$A$15"

s1 = Replace(s,"A","T")

--
Regards,
Tom Ogilvy


"alvin Kuiper" wrote in message
...
Hi

If i have
$A$6:$A$15 in a string

And i whant to change A to T
how can i easy do that?

Alvin







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Change value in a string

Thanks all for your help

Alvin

"Tom Ogilvy" wrote:

Are doing it in VBA? In xl2000 or later

s = "$A$6:$A$15"

s1 = Replace(s,"A","T")

--
Regards,
Tom Ogilvy


"alvin Kuiper" wrote in message
...
Hi

If i have
$A$6:$A$15 in a string

And i whant to change A to T
how can i easy do that?

Alvin






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 to change color within string? Eric Excel Discussion (Misc queries) 2 March 18th 10 08:33 AM
Change 3 letter text string to a number string Pete Excel Discussion (Misc queries) 3 December 31st 07 07:47 PM
Change part of string to lower Pat Excel Worksheet Functions 2 October 13th 06 02:56 PM
How to change text string? Dajana Excel Discussion (Misc queries) 2 August 24th 05 02:29 AM
Change date format in string? Ed Excel Programming 6 November 4th 04 04:29 PM


All times are GMT +1. The time now is 11:14 AM.

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"