Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using Office 2003 on Windows XP.
I have a program that creates a CSV file and currently, along with TRIM, I'm using: Application.WorksheetFunction.Clean(sData) to clean out unprintable characters (like carriage returns) from the variable contents before writing it into the CSV file. I have two questions: 1. Is there an equivalent VBA function to CLEAN that I could/should be using? 2. In some of the text descriptions of the source data there are sometimes multiple consecutive tabs, blank spaces (spacebar) and other undesirable characters, that not even CLEAN and TRIM remove. Is there another function I can use to help me clean up this sort of thing, or does someone have a cleaning function they can share for this type of thing? Any suggestions welcomed. Thanks much in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
find and replace numeric strings in larger text strings | Excel Worksheet Functions | |||
Creating strings for legend | Excel Discussion (Misc queries) | |||
Writing strings to a text file ? | Excel Programming | |||
Help Creating Text File | Excel Programming | |||
import text-file - strings contain cr-lf | Excel Programming |