Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Best way to manipulate CSV files

i need to create a feature in excel where i can merge two csv files, based on
a key field in both files, ie where smith in file a matches smith in file b,
then take the 4th value from file b and add it to the third value in file A.

very relational.

given i've only got excel and vba and 2 csv files to do this in whats the
best way of going about it, architecturally speaking!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Best way to manipulate CSV files

How do I post a question when I can't get the Subject box and Message boxes
to appear on the screen? I'm at wits end on this.
Mikey

"Jono2000" wrote:

i need to create a feature in excel where i can merge two csv files, based on
a key field in both files, ie where smith in file a matches smith in file b,
then take the 4th value from file b and add it to the third value in file A.

very relational.

given i've only got excel and vba and 2 csv files to do this in whats the
best way of going about it, architecturally speaking!!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Best way to manipulate CSV files

Use msquery in Excel if you just want to display the results. If you want
to alter the values in file A, then I guess you would need to go to ADO or
you could import the files into excel and manipulate them there or use low
level file io, but either of the latter two do not take advantage of
relational capabilities.

--
Regards,
Tom Ogilvy


"Jono2000" wrote in message
...
i need to create a feature in excel where i can merge two csv files, based

on
a key field in both files, ie where smith in file a matches smith in file

b,
then take the 4th value from file b and add it to the third value in file

A.

very relational.

given i've only got excel and vba and 2 csv files to do this in whats the
best way of going about it, architecturally speaking!!



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Best way to manipulate CSV files

ok - I've now found Microsoft Query and built the relevant queries in basic
sql which solves my requests.

"Jono2000" wrote:

i need to create a feature in excel where i can merge two csv files, based on
a key field in both files, ie where smith in file a matches smith in file b,
then take the 4th value from file b and add it to the third value in file A.

very relational.

given i've only got excel and vba and 2 csv files to do this in whats the
best way of going about it, architecturally speaking!!

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
Manipulate a Range DaveM Excel Discussion (Misc queries) 1 January 31st 08 02:57 AM
manipulate data sjl Excel Worksheet Functions 1 May 3rd 06 01:55 PM
Possible to manipulate Legend? SiriS Charts and Charting in Excel 2 March 15th 06 12:47 PM
Manipulate an excel column Bill R Excel Worksheet Functions 2 May 17th 05 07:01 PM
Manipulate Excel Bich Leu Excel Programming 3 August 25th 03 11:57 PM


All times are GMT +1. The time now is 10:42 AM.

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"