Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Using Excel VBA: sending output data table to created .csv file +append Options

Hi everyone,

Say I have already XVar.csv file and using MS VB I want to automate
writing a data vector X[a,b,c] to XVar.csv or appending it to already
existing table in XVar.csv

How this could be written in a simple vba code?

Thanks,
Mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default Using Excel VBA: sending output data table to created .csv file +append Options

On Dec 8, 1:22*pm, Mike wrote:
Hi everyone,

Say I have already XVar.csv file and using MS VB I want to automate
writing a data vector X[a,b,c] to XVar.csv or appending it to already
existing table in XVar.csv

How this could be written in a simple vba code?

Thanks,
Mike



Sub UpdateCSV()
Open "C:\TestFolder\junk\AA.csv" For Append As #1
Print #1, "Hello World"
Close #1
End Sub
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
Why are numbers stored as text in my TOAD created Excel output? VK Excel Discussion (Misc queries) 1 June 6th 08 07:02 PM
How do I print from a file created from sending a print to a file Ted Johnston Excel Discussion (Misc queries) 1 February 23rd 06 03:10 AM
How to Append the Data to the Master Table Shiva Excel Worksheet Functions 7 November 8th 05 05:00 AM
Append the data given in diff sheets of an Excel File to one sheet sansk_23 Excel Worksheet Functions 3 May 10th 05 02:00 AM
When sending file via email, cannot paste Excel data into body of letter. Pierre Excel Discussion (Misc queries) 2 February 23rd 05 09:27 PM


All times are GMT +1. The time now is 06:40 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"