Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to convert .csv file to xlsx file with tabs

Posted on 2011-09-20
8
Medium Priority
?
527 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

598 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