Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - export columns of .ods to .csv using a macro
export columns of .ods to .csv using a macro
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
ElektroMJ
Agent


Joined: Feb 25, 2009
Posts: 18

PostPosted: Sat Feb 28, 2009 10:32 am    Post subject: export columns of .ods to .csv using a macro

Dear Community,

i would like to export columns A to F from the current sheet into a .csv value with TAB separation. This command shall be written in a macro. I did not find a hint on 45 min search therefore i dare to ask u here for a link/hint/macro.

Thx, MSmile


PS: Why is there no EXPORT-function in the menu for .csv - just save as?
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Mon Mar 02, 2009 10:36 am    Post subject:

Yes, to get CSV you'll need to do a File > Save As. You can change the separators to tabs using the "Field delimiter" row. Offhand I do not know of any direct way to save the selected rows only. If you were to write a macro probably the approach I would take is to copy the rows/columns, create a new spreadsheet document, paste them in, and then do the save. You may be able to find more help or ask if anyone's done this at the OOoMacros site;

http://www.ooomacros.org/

ed
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.