Microsoft
Software
Hardware
Network
Question : Replace Line breaks with spaces using VB in Excel
Hi I need some help with a formula to run in excel that will find and replace all line breaks in all cells within a column. Here is a typical entry:
Due to their sizes and outputs, these food mills are designed
for small quantities and fit onto pans smaller than 8 ?” in
diameter. They are made of stainless steel and come with three
cutting plates. The 7 ?” food mill output is approximately 1 Lb
per minute and 1.5 Lbs for the 9 1/2”.
The line breaks need to be eliminated to facilitate the creation of a CSV file that will not crash an application.
Appreciate all help!!!
Answer : Replace Line breaks with spaces using VB in Excel
You might have two different types of line breaks.
Try this
Sub zap()
ActiveSheet.[A:A].Replace Chr(13) & Chr(10), " "
ActiveSheet.[A:A].Replace Chr(10), " "
ActiveSheet.[A:A].Replace Chr(13), " "
End Sub
Random Solutions
Returning Parts of String Variables in VB
Create 3D network diagrams
I need advise on a triple monitor setup.
Sending email from shared mailboxes in Outlook
Is there an alternative to Windows XP Dialer.exe?
Need support on migrating windows xp pro pc to windows 7 on a server 2003 sbs. Profile not loading properly.
This request requires buffering of data for authentication or redirection to be successful.
Problem with hwdPhotoShare in Joomla
Where is the exact location where Firefox stores bookmarks (favorites) on Windows XP?
Reseeding Identity column