LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default Merging a CSV and XLS file automatically

1. Open your xls
2. Write a macro
Macro does this:
1. Reads the CSV into an ADODB.Recorsdset object (works best if the CSV has
column headers).
2. Insert a new worksheet
3. Use CopyFromReordset to send the ADODB.REcordset to the new sheet.

.... save the workbook
 
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
Merging info from Wkbk 1 to Wkbk2 automatically avinity Setting up and Configuration of Excel 1 January 22nd 10 10:34 PM
Merging cells in shared file Erol Excel Discussion (Misc queries) 2 January 8th 09 02:00 PM
merging of data automatically ah Excel Discussion (Misc queries) 2 November 29th 07 12:44 PM
Updating or merging files, same file, they were updated independan Vanessa Excel Discussion (Misc queries) 1 September 1st 06 03:16 AM
Problems merging an excel file due to code or file problems? Cindy M -WordMVP- Excel Programming 0 September 14th 04 02:58 PM


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