Solved

how to convert .csv file to xlsx file with tabs

Posted on 2011-09-20
8
505 Views
Last Modified: 2012-08-13
I want to convert csv to .xslx and put the data in tabs based on certain criteria, is there a way to do it thru excel macros or vb program.
0
Comment
Question by:panthi
  • 3
  • 3
  • 2
8 Comments
 
LVL 21

Expert Comment

by:Hendrik Wiese
ID: 36567164
You simply open the CSV file and then save it as .xsls.
0
 
LVL 21

Expert Comment

by:Hendrik Wiese
ID: 36567170
So open the CSV file using excel, and then save the file as xsls extension which will allow you to use all the excel functions, macros etc.
0
 

Author Comment

by:panthi
ID: 36567768
May be i am not clear. i understand that i  can do saveas, i basically want to automate this, that is the real question.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36570335
What is the criteria for dividing to tabs? You would have to use Office Automation.

http://support.microsoft.com/kb/302094
0
 

Author Comment

by:panthi
ID: 36573537
the criteria is value in one of the column
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36575932
Did you try the automation example?
0
 

Author Comment

by:panthi
ID: 36582628
To make it more clear this is what my task is
there is a csv file that is created by a program every day
I need to read that csv file based on the date and create a xlsx file as an output with seperate
tabs for each state. What is the most efficient way to do this i dont think automation example is right for the scenario mentioned.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 36593828
Given that you need to create additional sheets in xlasx file based on your criteria, I think automation is your only choice.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, In my precious Article  (http://www.experts-exchange.com/Database/Reporting/A_15280-Create-Project-in-Microstrategy-Part-I.html)we saw the Configuration part for Microstrategy which included Metadata Creation and DataSource Preparation as …
I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question