Gossamer Forum
Home : General : Databases and SQL :

Re: [KarlS] Delete Carriage return query

Quote Reply
Re: [KarlS] Delete Carriage return query In reply to
This did not work for me, when I returned to the excel sheet all the columns had been jumbled up.

However I managed to find another solution with one line of VBA:

Worksheets("Sheet1").Columns("I").Replace What:=vbCrLf, Replacement:="?"

Should be self explanatory, the vbCrLf is the VB code for a carriage return and just replace the ? with whatever you want in place of the carriage return.

Brian
Subject Author Views Date
Thread Delete Carriage return query Mad_Mick 90767 Jan 18, 2004, 7:10 PM
Thread Re: [Mad_Mick] Delete Carriage return query
Andy 90411 Jan 19, 2004, 2:48 AM
Post Re: [Andy] Delete Carriage return query
Mad_Mick 90183 Jan 19, 2004, 2:45 PM
Thread Re: [Mad_Mick] Delete Carriage return query
llccoo 90257 Jan 25, 2004, 9:23 AM
Thread Re: [llccoo] Delete Carriage return query
Mad_Mick 90285 Jan 26, 2004, 1:52 PM
Post Re: [Mad_Mick] Delete Carriage return query
Watts 90181 Jan 26, 2004, 3:36 PM
Thread Re: [Mad_Mick] Delete Carriage return query
llccoo 90176 Jan 26, 2004, 3:43 PM
Thread Re: [llccoo] Delete Carriage return query
Mad_Mick 90165 Jan 26, 2004, 4:34 PM
Post Re: [Mad_Mick] Delete Carriage return query
llccoo 90133 Jan 27, 2004, 4:17 AM
Thread Re: [Mad_Mick] Delete Carriage return query
Watts 90163 Jan 28, 2004, 9:39 AM
Post Re: [Watts] Delete Carriage return query
llccoo 90157 Jan 28, 2004, 8:45 PM
Thread Re: [Mad_Mick] Delete Carriage return query
KarlS 86648 Jul 8, 2005, 11:49 AM
Thread Re: [KarlS] Delete Carriage return query
BI 86450 Jul 26, 2005, 3:17 AM
Post Re: [BI] Delete Carriage return query
theryall 68145 Nov 13, 2007, 1:16 AM
Thread Re: [Mad_Mick] Delete Carriage return query
justin.kearney 65907 Feb 29, 2008, 7:01 AM
Thread Re: [justin.kearney] Delete Carriage return query
LaLa 63228 Jun 24, 2008, 4:47 PM
Post Re: [LaLa] Delete Carriage return query
justin.kearney 63136 Jun 25, 2008, 5:37 AM