Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello - I need to assign an entire htm file to a variable without tabs and
newlines. In perl, you can replace regular expressions. What do you use to replace tabs and newlines in vba? -- Thanks, Mike |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Mike,
See TrimALL macro and comments concerning it at http://www.mvps.org/dmcritchie/excel/join.htm as far as tabs (09), and carriage returns (13), and line feeds (10) are concerned. -- you will have to make some additions to the macro. But are you pasting formatted text, or are you pasting HTML coding. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Mike Archer" wrote in message ... Hello - I need to assign an entire htm file to a variable without tabs and newlines. In perl, you can replace regular expressions. What do you use to replace tabs and newlines in vba? -- Thanks, Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to remove newlines from worksheet | Excel Discussion (Misc queries) | |||
Removing Tabs in Web Page version of Spreadsheet | Excel Discussion (Misc queries) | |||
Newlines in csv files | Excel Discussion (Misc queries) | |||
removing tabs from data | Excel Discussion (Misc queries) | |||
removing space and tabs in a cell | Excel Discussion (Misc queries) |