How to save Calc file as .txt, with tabs, and omit $ signs
Posted: Thu Mar 28, 2013 5:15 am
Hello Open Office forum!
Question. How can I save i). the first 14 lines of a spread sheet; as ii). a text file; and iii). without the dollar signs; and iv). separated with tabs - not commas?
I am working on pricing for a web site. I need to put together pricing grids for 2,000+ products. I am uploading the pricing grid(s) to a web site. The web site uses PHP to parse the pricing grids and output them to a website.
i). The first fourteen lines are the pricing grid. I don't want to save the entire spread sheet - just the fourteen lines.
ii). Calc has an option to save as a .cvs file. There is no option to safe as a plain text (.txt) file. I would like to save the file as a .txt file.
iii). The PHP script might not like the $ signs. The script might interpret the number with a dollar sign as a variable. I would like to save the the numbers without the dollar ($) sign.
iv). Calc will save the pricing grid with tabs instead of commas - but you have got to go through an extra step in the "Export of text files" box that pops up. The default value under "Field delimiter" is a comma. I would like the default value to be {Tab} instead of comma. I will be saving the pricing grids for over 2,000 products. Eliminating one step would make my job a lot easier.
In summary I just want to save the first fourteen lines as a text file with values separated with tabs and without the dollar sign without having to go through the extra steps.
I would appreciate any suggestions.
Thanks.
Question. How can I save i). the first 14 lines of a spread sheet; as ii). a text file; and iii). without the dollar signs; and iv). separated with tabs - not commas?
I am working on pricing for a web site. I need to put together pricing grids for 2,000+ products. I am uploading the pricing grid(s) to a web site. The web site uses PHP to parse the pricing grids and output them to a website.
i). The first fourteen lines are the pricing grid. I don't want to save the entire spread sheet - just the fourteen lines.
ii). Calc has an option to save as a .cvs file. There is no option to safe as a plain text (.txt) file. I would like to save the file as a .txt file.
iii). The PHP script might not like the $ signs. The script might interpret the number with a dollar sign as a variable. I would like to save the the numbers without the dollar ($) sign.
iv). Calc will save the pricing grid with tabs instead of commas - but you have got to go through an extra step in the "Export of text files" box that pops up. The default value under "Field delimiter" is a comma. I would like the default value to be {Tab} instead of comma. I will be saving the pricing grids for over 2,000 products. Eliminating one step would make my job a lot easier.
In summary I just want to save the first fourteen lines as a text file with values separated with tabs and without the dollar sign without having to go through the extra steps.
I would appreciate any suggestions.
Thanks.