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

Hello,

how can I replace the string "IN" by "OUT" and "OUT"
by "IN" in all cells in my worksheet?

Many thanks for your help,

Thang
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default replace a string in the worksheet


You'll need to do three find/replaces. Click the box above row one an
to the left of column A to select all cells. Then hit Ctrl-H to ope
Find/Replace dialog.

First Find IN and replace with TOBEOUT and replace all.
Next Find OUT and replace with IN and replace all.
Finally, Find TOBEOUT and replace with OUT and replace all.



--
kkkni
-----------------------------------------------------------------------
kkknie's Profile: http://www.excelforum.com/member.php...nfo&userid=754
View this thread: http://www.excelforum.com/showthread.php?threadid=26729

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default replace a string in the worksheet

If you use TOBEOUT, make sure you specify whole cell.

--
Regards,
Tom Ogilvy

"kkknie" wrote in message
...

You'll need to do three find/replaces. Click the box above row one and
to the left of column A to select all cells. Then hit Ctrl-H to open
Find/Replace dialog.

First Find IN and replace with TOBEOUT and replace all.
Next Find OUT and replace with IN and replace all.
Finally, Find TOBEOUT and replace with OUT and replace all.

K


--
kkknie
------------------------------------------------------------------------
kkknie's Profile:

http://www.excelforum.com/member.php...fo&userid=7543
View this thread: http://www.excelforum.com/showthread...hreadid=267298



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default replace a string in the worksheet

Use Edit=Replace

Replace IN with ZZXX (or any unique string)
Replace OUT with IN
Replace ZZXX with OUT

--
Regards,
Tom Ogilvy

"thang" wrote in message
...
Hello,

how can I replace the string "IN" by "OUT" and "OUT"
by "IN" in all cells in my worksheet?

Many thanks for your help,

Thang



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
Edit REplace String Tami Excel Worksheet Functions 2 September 25th 09 08:20 PM
How do I replace last numeric string from a alphanumeric string? Christy Excel Discussion (Misc queries) 3 August 11th 06 12:17 AM
Substring to replace string Andrew Slentz[_2_] Excel Programming 3 June 11th 04 06:54 PM
Substring to replace string Andrew Slentz[_2_] Excel Programming 1 June 11th 04 04:51 PM
replace a number with a string from database K.Martens Excel Programming 1 November 6th 03 10:27 PM


All times are GMT +1. The time now is 04:41 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"