<br><font size=2 face="sans-serif">You might need to do your search and replace using VBA code and look for either the CHAR(13) or CHAR(10) in the string.</font>
<br>
<br><font size=2 face="sans-serif">I think it might look something like the following (have not done VBA in excel for awhile)</font>
<br>
<br><font size=2 face="sans-serif">Range("A1").Select - Change this to your range</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> If IsNull(ActiveCell.Value) Or ActiveCell.Value = "" Then</font>
<br><font size=2 face="sans-serif"> mytest = "Empty"</font>
<br><font size=2 face="sans-serif"> Else</font>
<br><font size=2 face="sans-serif"> mytest = ActiveCell.Value</font>
<br><font size=2 face="sans-serif"> End If</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> Do Until mytest = "Empty"</font>
<br><font size=2 face="sans-serif"> if instring(activecell.value, char(13),1) <> 0 or instring(activecell.value, char(10),1<>0 then</font>
<br><font size=2 face="sans-serif"> << read through the string and replace the return>></font>
<br><font size=2 face="sans-serif"> end if </font>
<br><font size=2 face="sans-serif"> ActiveCell.Offset(1, 0).Select</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> If IsNull(ActiveCell.Value) Or ActiveCell.Value = "" Then</font>
<br><font size=2 face="sans-serif"> mytest = "Empty"</font>
<br><font size=2 face="sans-serif"> Else</font>
<br><font size=2 face="sans-serif"> mytest = ActiveCell.Value</font>
<br><font size=2 face="sans-serif"> End If</font>
<br><font size=2 face="sans-serif"> Loop</font>
<br>
<br><font size=2 face="sans-serif">Hope this at least gets you going.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"Terri Jarus" <jarus@amerinet-gpo.com></b></font>
<br><font size=1 face="sans-serif">Sent by: accessd-bounces@databaseadvisors.com</font>
<p><font size=1 face="sans-serif">04/07/2003 02:20 PM</font>
<br><font size=1 face="sans-serif">Please respond to accessd</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: accessd@databaseadvisors.com</font>
<br><font size=1 face="sans-serif"> cc: </font>
<br><font size=1 face="sans-serif"> Subject: [AccessD] OT - Access to Excel Export</font></table>
<br>
<br>
<br><font size=2 face="Courier New">We are exporting a file from AXP to EXP to include a memo field that<br>
might have carriage returns in it. The exported version in Excel shows<br>
those returns as little boxes - - I don't want that special character to<br>
show up in Excel. The character is not recognized in a search and<br>
replace.<br>
<br>
Any ideas?<br>
<br>
Thanks for any suggestions.<br>
_______________________________________________<br>
AccessD mailing list<br>
AccessD@databaseadvisors.com<br>
http://databaseadvisors.com/mailman/listinfo/accessd<br>
Website: http://www.databaseadvisors.com<br>
<br>
</font>
<br>
<br>