LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default print # statement infrequently printing 0's

I have an output file that is not being populated correctly.

ExtractLength goes up to 18000
The messageArray array is defined from 1 to 18000
What I'm trying to do is look in an array - if there is data is offset
loopArrayCtr - print it out.


For loopArrayCtr = 1 To ExtractLength
If messageArray(loopArrayCtr) < Empty Then
Print #1, Tab(loopArrayCtr); messageArray(loopArrayCtr);
loopArrayCtr = loopArrayCtr + Len(messageArray(loopArrayCtr)) - 1
End If
Next loopArrayCtr


If there is a more simple way of printing out an array of data from
byte 1 to x to a file exactly as the data looks in the array (imagining
the data as one long string of data that will go on one line of a file)
- that would work also.

Thanks!



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

 
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
Is it possible to have a Print if statement Eric D Excel Discussion (Misc queries) 3 July 24th 09 04:23 PM
Print Preview does not allow printing F W Green Excel Discussion (Misc queries) 1 April 29th 08 02:32 PM
Print Area Printing David New Users to Excel 3 August 22nd 07 10:18 PM
Print a Statement from a list Wins07 Excel Discussion (Misc queries) 1 March 22nd 07 08:57 AM
Print Copies in with statement? Ron de Bruin Excel Programming 2 August 6th 03 12:00 AM


All times are GMT +1. The time now is 06:57 PM.

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

About Us

"It's about Microsoft Excel"