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  dBforums > PC based Database Applications > Microsoft Excel > Excel Files merge into one XLS file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-04, 11:57
vkaramched vkaramched is offline
Registered User
 
Join Date: Jan 2003
Location: Atlanta
Posts: 134
Excel Files merge into one XLS file

Hi,

I have generated few files with .CSV extension from Microsoft SQLserver2000. Client wants them to be in one XLS file with different worksheets for each of these files. How can I do it?

Thanks
Vinnie
Reply With Quote
  #2 (permalink)  
Old 03-03-04, 12:18
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
I hope I understand what you are asking. If this is a one-time event, then save the first file as an Excel workbook, not csv, that way you can have extra worksheets (csv files allow only one worksheet). As you open all the other csv files (you can do it at one time), right-click and choose "Move or Copy" and click the box below to "Create Copy" then select the original XL file (you saved above) as destination.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 03-04-04, 03:41
qha_vn qha_vn is offline
Registered User
 
Join Date: Jan 2003
Location: Vietnam
Posts: 188
simply open the generated text files FROM Excel, specify "," (coma) as the column separator, then combine all sheets into one file by copy them (right click the sheet tab and copy)

cheers
__________________
qha_vn
Reply With Quote
  #4 (permalink)  
Old 03-04-04, 07:51
vkaramched vkaramched is offline
Registered User
 
Join Date: Jan 2003
Location: Atlanta
Posts: 134
Excel files

Many thanks for the suggestions. I did not put exactly what I wanted. Is there any command from the command line I can use ( Windows command line ) which can combine the .csv files into one .csv or .xls file? I do not want to open and do copy/paste.

Thanks
Vinnie
Reply With Quote
  #5 (permalink)  
Old 03-04-04, 21:35
qha_vn qha_vn is offline
Registered User
 
Join Date: Jan 2003
Location: Vietnam
Posts: 188
go here and see if it fits your need and......... budget

http://www.softinterface.com/Convert...nate-Files.htm
__________________
qha_vn
Reply With Quote
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On