Hej!
Har en CSV-fil med 25000 rader och ca. 70 fält.
ex. på innehåll en liten fil med två fält och två rader
"0160-1";"Test"
"0001";"Test1"
När den öppnas med Calk kommer jag alltid fram till rutan "textimport"
och väljer .:
- Delningsalternativ = Semikolon
- Övriga alternativ = Fält inom citattecken som text
Filen öppnas med Calc och innehållet hamnar i rätt cell.
Allt ser bra ut. 0160-1 och 0001 hamnar i kolumn-A samt texten i kolumn-B
Men det är bara 0001 som formaterats som "text".
0160-1, Test och Test1 har formaterats som "antal".
Det innebär om bindestrecket i 0160-1 tas bort kommer resultatet att bli
1601 (inte 01601)
_____________________________________________
Inte ens om i rutan, där man bestämmer hur importen ska utföras, väljer
hur fälten ska importeras, lyckas jag få fältet att bli ett genuint text
fält, genom att markera kolumnerna och ange "text".
(fungerar det i OpenOffice?)
Enda sättet är att sedan filen öppnats, markera kolumnerna och välja .:
- Format / Celler
- Fliken "nummer" och välja "Text"
(men det känns opraktiskt att selektera ur de 70 fälten varje gång filen
ska granskas)
//Jan
Gör jag fel eller har jag missuppfattat något?
//Jan
--
For unsubscribe instructions e-mail to: users+unsubscribe@sv.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/sv/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
- [sv-users] Öppna filer av annat format - Calc · Jan Öhman
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.