panthi
asked on
how to convert .csv file to xlsx file with tabs
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.
You simply open the CSV file and then save it as .xsls.
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.
ASKER
May be i am not clear. i understand that i can do saveas, i basically want to automate this, that is the real question.
What is the criteria for dividing to tabs? You would have to use Office Automation.
http://support.microsoft.com/kb/302094
http://support.microsoft.com/kb/302094
ASKER
the criteria is value in one of the column
Did you try the automation example?
ASKER
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.