Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find Replace loses text properties/formatting | Excel Worksheet Functions | |||
Find and replace - problem with automatically changing formatting | Excel Discussion (Misc queries) | |||
Find and Replace formatting formats the ENTIRE cell | Excel Discussion (Misc queries) | |||
Find and replace of word causes change of font formatting | New Users to Excel | |||
Find and Replace formatting inside of a macro | Excel Programming |