I'm working in a solution that creates a .csv file in a server and download it to the user machine.
I would like to download it as a .xlsx file.
I have access to the server using SQLPlus (where I can use command lines if necessary) and I know the server does not have Excel installed.
Is that a way to convert the .csv file?
Thanks
If you want the .csv to be an .xlsx, then open blank Excel document.
Note: I am using Excel 2013.
Make sure you have clicked in top left cell, A1, and that it is
blank.
Click "DATA" tab at the top.
Click "From Text" option.
It will open up browsing option.
Find the .csv file you want to open/"convert".
Click import.
Once it is open, you can pick to have it Delimited by tabs, spaces, or commas.
Click next.
Pick the delimiters you need it separated by, so that it will fill out the columns.
Click finish.
It will ask where to put, and it you selected A1 in the steps above it will default there and just click okay.
Now save the file as an .xlsx file and you are done.
Related
So, in my software program I need a comma separated file. Hence, I created one using Microsoft excel entering the data. But, my software program gave error saying its not a comma separated. Hence, I just copy pasted some cell in notepad and it came out to be Tab separated.
Right now :
Owner Latitude Longitude LocationInfo
I want :
Owner,Latitude,Longitude,LocationInfo
Excel has its own special proprietary file format.
If you copy and past from an Excel sheet, what you get has no bearing on the format when you click save.
What you need to do is SaveAs and then in the popup where you can browse for a location and edit the file name, there is also a drop down (below the file name text box) where you can select various file extensions. When you pick one of those Excel will intelligently format your file for the chosen extension. Just find the one that is .csv (it may be called CSV).
I am editing a csv comma separated file in Excel 2013.
When I enter 6/60 in a column, Excel turns it to jun-60 and I don't want that.
I've tried:
Choosing "Text" in "Cell format" options. I save the changes and close the program. When I open back the file I have: jun-60
Pasting only values. I save the changes and close the program. When I open back the file I have: jun-60
Entering '6/60. I save the changes and close the program. When I open back the file I have: jun-60
Entering "=""6/60""". I save the changes and close the program. When I open back the file I have: "=""6/60"""
I also had combined all the options. But it is not working.
Any ideas?
Please remember I am editing a csv comma separated file in Excel 2013 not a xlsx format.
Thanks!
How about this:
Use your own option 1. Do not re-open the file from the File menu, but import it as data (Data-tab, From Text). On the last page of the wizzard, choose 'Text' for the Column data format. That should work.
I am trying to open a .dat file in excel or sigma plot. First, the file kept downloading as a PDF automatically. Then I changed the file extension to excel and also tried txt. When I try to open it from right clicking, choosing open with and then choosing excel, it doesn't give me the option to open the file as comma delimited. The data is all squished into one column with the commas still there.
How to I get my windows computer to allow me to open the file with commas delimiting so I can separate the data into cells?
Open up an instance of Excel first, then open the file from there. This should give you the dialogue to open with comma delimiting. Be sure to select "All Files" when opening the file so that .txt files are visible.
I have lines of data in a text file that I want to open in Excel.
Each line represents different columns which are separated by a comma.
If my file's extension is CSV, the file association is showing the Excel icon on the file and Excel opens the file immediately, sorting rows and columns just fine.
If my file's extension is not CSV, say .ABC, then I need to use Excel the following way: File->Open then I need to use the Text Import Wizard and specify that the delimiter is a comma.
Is there a way to set up my computer (a register to edit?) so it forces Excel to open my .ABC file as a CSV file?
If you are on windows you can change the program that Windows uses to open all files of the same type. In your case .ABC.
1) Right-click the file you want to change and then click Choose default program.
Click the program you want to use to open the file. In this case EXCEL.
If you want all files of that type to open in the same software program, select the Always use the selected program to open this kind of file check box, and then click OK.
If you want only that file to open in the software program this one time, clear the Always use the selected program to open this kind of file check box, and then click OK.
I hope it helps.
My application interfaces with Excel using tab-delimited Unicode text files. I require that some cells have multiple lines (alt-enter in Excel, produces LF character (10)).
If I right-click on the txt file in Explorer and Open With..Excel, it opens correctly. However, if I open Excel, and from within Excel either open the txt file by browsing to it, or open it through the Most Recently Used list, it treats the LF as a CR and creates a new row starting at that point.
How can I get Excel to open the file correctly from within Excel (i.e., open the file the same way as if I had right-clicked on it in Explorer and selected Open With..Excel)?
Edit: Chris Persichetti provided a lot of good information on a related question here.
I think that you should try this: on the ribbon, click the Data tab, then in the "Get External Data" section, click "From Text". this allows you to customize how excel opens the text file.