Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Find and Replace with Formatting

I have a bunch of cells that have measurments in them formatted like this 3'-
0". I would like to change these to 3/0 but when i do a find and replace
(even after setting the format to text for these cells) it turns them into a
date. is there a way to do a find and replace but leave the format as text?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200804/1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Find and Replace with Formatting

I would think that if you enclose the replace with in quote marks(i.e. "3/0")
it should take it as text and not convert to a date.

"brownti via OfficeKB.com" wrote:

I have a bunch of cells that have measurments in them formatted like this 3'-
0". I would like to change these to 3/0 but when i do a find and replace
(even after setting the format to text for these cells) it turns them into a
date. is there a way to do a find and replace but leave the format as text?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200804/1


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Find and Replace with Formatting

Nope. It then replaces it with "3/0". Any other thoughts?

JLGWhiz wrote:
I would think that if you enclose the replace with in quote marks(i.e. "3/0")
it should take it as text and not convert to a date.

I have a bunch of cells that have measurments in them formatted like this 3'-
0". I would like to change these to 3/0 but when i do a find and replace
(even after setting the format to text for these cells) it turns them into a
date. is there a way to do a find and replace but leave the format as text?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200804/1

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Find and Replace with Formatting

Try prefixing with an apostrophe at the same as the replace or formatting
cells as text before you do the replace.

Regards,
Peter T

"brownti via OfficeKB.com" <u31540@uwe wrote in message
news:82d35e94ffe4a@uwe...
I have a bunch of cells that have measurments in them formatted like this

3'-
0". I would like to change these to 3/0 but when i do a find and replace
(even after setting the format to text for these cells) it turns them into

a
date. is there a way to do a find and replace but leave the format as

text?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200804/1



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
Find Replace loses text properties/formatting no1jimmyman Excel Worksheet Functions 1 February 3rd 11 09:56 PM
Find and replace - problem with automatically changing formatting jwa90010 Excel Discussion (Misc queries) 6 October 28th 08 08:07 PM
Find and Replace formatting formats the ENTIRE cell Duy Nguyen Excel Discussion (Misc queries) 2 April 16th 07 02:28 PM
Find and replace of word causes change of font formatting jwa90010 New Users to Excel 4 July 22nd 05 08:10 PM
Find and Replace formatting inside of a macro mlstjohn Excel Programming 0 November 11th 04 04:16 PM


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