A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how to modify a text file with an array



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 19th 08, 04:37 PM posted to microsoft.public.outlook.program_vba
R Tanner
external usenet poster
 
Posts: 5
Default how to modify a text file with an array

Hi,

I have the following code. How would I modify a text file with this
array?

Open LogFileName For Append As #FileNum
Print #FileNum, arrdata(1 to myitems.Count, 1 to 3)

Close #FileNum
  #2  
Old September 20th 08, 09:06 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default how to modify a text file with an array



The code assumes that you have an array with 1 to x rows, and 3 columns. The
content of that array will be printed into a file with the fullname of
what's in the LogFileName variable.

--
Best regards
Michael Bauer - MVP Outlook

: VBOffice Reporter for Data Analysis & Reporting
: Outlook Categories? Category Manager Is Your Tool
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Fri, 19 Sep 2008 08:37:28 -0700 (PDT) schrieb R Tanner:

Hi,

I have the following code. How would I modify a text file with this
array?

Open LogFileName For Append As #FileNum
Print #FileNum, arrdata(1 to myitems.Count, 1 to 3)

Close #FileNum

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I convert an Outlook Data file to a text file? Peggy Outlook - Using Contacts 4 September 3rd 08 06:44 PM
iterating an array Jade Outlook and VBA 1 July 9th 08 08:11 PM
modify homeserver with PRF without losing current OST file Mïll#99 Outlook - Installation 0 September 4th 07 09:43 AM
Array Problems Dan Allason Outlook - Using Forms 2 February 21st 07 03:43 PM
Import Excel file to array to fill ComboBox Pentoast Outlook - Using Forms 9 December 19th 06 06:08 PM


All times are GMT +1. The time now is 04:33 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.