Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Automatically join files

I would like to set up Excel to automatically join 3 .csv files (located in the same folder), each month, and place the result set in a spreadsheet. Is this possible? Thanks for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Automatically join files

On Monday, October 22, 2012 11:06:07 AM UTC-5, wrote:
I would like to set up Excel to automatically join 3 .csv files (located in the same folder), each month, and place the result set in a spreadsheet. Is this possible? Thanks for your help.


Yes. but you need to provide much more info and files.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Automatically join files

On Monday, October 22, 2012 11:26:17 AM UTC-6, Don Guillett wrote:
On Monday, October 22, 2012 11:06:07 AM UTC-5, wrote:

I would like to set up Excel to automatically join 3 .csv files (located in the same folder), each month, and place the result set in a spreadsheet. Is this possible? Thanks for your help.




Yes. but you need to provide much more info and files.


Thanks for responding, Don.

I guess my question is really whether from VBA I can open multiple connections to the csv files and then execute a SQL string to do inner joins on those files. Hope I'm being more clear.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Automatically join files

On Monday, October 22, 2012 10:06:07 AM UTC-6, wrote:
I would like to set up Excel to automatically join 3 .csv files (located in the same folder), each month, and place the result set in a spreadsheet. Is this possible? Thanks for your help.


I just needed to create a DSN Control PanelData Sources, then turn on macro recorder, go to MS Query do the SQL, turn off recorder and examine the code. It's all I need.
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
join imported Excel 2007 files Dayle Excel Worksheet Functions 1 January 22nd 10 12:19 AM
Join tables like inner join in Access ryanp Excel Discussion (Misc queries) 2 July 18th 08 03:35 PM
how do I join multiple excel files into 1 file? John Excel Discussion (Misc queries) 4 February 22nd 06 07:38 PM
To join some sheets of several files in one file 71paolo71 Excel Programming 1 April 30th 04 07:58 PM


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