Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Ignore Blanks

Hi All,

I am currently writing a macro that pulls data in from a
text file, my problem is that the text file contains
blanks and i won't to write a macro that will ignore all
the blanks, and when it reaches a character to read it
into the spreadsheet
Can anyone suggest how i can ignore these blanks?
Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
rog rog is offline
external usenet poster
 
Posts: 39
Default Ignore Blanks

How are you currently reading it in to the spreadsheet?



-----Original Message-----
Hi All,

I am currently writing a macro that pulls data in from a
text file, my problem is that the text file contains
blanks and i won't to write a macro that will ignore all
the blanks, and when it reaches a character to read it
into the spreadsheet
Can anyone suggest how i can ignore these blanks?
Thanks


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Ignore Blanks

I'm using the filesystemobject from the microsoft
scripting references at the moment to read the file into
the spreadsheet.
-----Original Message-----
How are you currently reading it in to the spreadsheet?



-----Original Message-----
Hi All,

I am currently writing a macro that pulls data in from

a
text file, my problem is that the text file contains
blanks and i won't to write a macro that will ignore

all
the blanks, and when it reaches a character to read it
into the spreadsheet
Can anyone suggest how i can ignore these blanks?
Thanks


.

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
rog rog is offline
external usenet poster
 
Posts: 39
Default Ignore Blanks

Then whichever method you are using
(Read/Readline/Readall), you should just be able to use

worksheetfunction.substitute(string just read in," ","")
before you output to sheet

Rgds

Rog



-----Original Message-----
I'm using the filesystemobject from the microsoft
scripting references at the moment to read the file into
the spreadsheet.
-----Original Message-----
How are you currently reading it in to the spreadsheet?



-----Original Message-----
Hi All,

I am currently writing a macro that pulls data in from

a
text file, my problem is that the text file contains
blanks and i won't to write a macro that will ignore

all
the blanks, and when it reaches a character to read it
into the spreadsheet
Can anyone suggest how i can ignore these blanks?
Thanks


.

.

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Median - Ignore blanks jhicsupt Excel Discussion (Misc queries) 5 April 30th 23 03:43 AM
Ignore Blanks SEF Excel Discussion (Misc queries) 2 April 27th 10 08:10 PM
Sum across spreadsheets & ignore blanks to get rid of #VALUE! erro Struggling in Sheffield[_2_] New Users to Excel 7 April 8th 09 04:51 PM
DATA Validation (Ignore Blanks) el zorro[_2_] Excel Discussion (Misc queries) 3 May 15th 07 12:27 AM
USING IGNORE BLANKS IN FORMULA Roger H. Excel Discussion (Misc queries) 5 April 6th 05 05:01 PM


All times are GMT +1. The time now is 05:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"