Solved

how to convert .csv file to xlsx file with tabs

Posted on 2011-09-20
8
503 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 20

Expert Comment

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

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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hi, In my previous Article  (http://www.experts-exchange.com/Database/Reporting/A_15199-Introduction-to-Microstrategy.html)I discussed some basic understanding of Microstrategy that how we can get in Intro of Microstrategy (MSTR). Now it's tim…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now