How do I save a Numbers spreadsheet in .txt format?

In order to import a contact list into an online program, I am supposed to Save As a TXT file (text delimited) - I am not given that option. I have tried numerous ways to save as Excel and convert and cannot find anything that will work. Please help.

Posted on Oct 6, 2011 8:26 PM

Reply
10 replies

Oct 7, 2011 2:16 AM in response to melissafromgilbert

From my point of view, the easy clean way is to select the table

copy

Paste in Textedit

set format to text

Save.


An alternate scheme is this old script :


--{code}

--[SCRIPTclipboard2textFile]

(*

Enregistrer le script en tant que Scriptl :clipboard2textFile.scpt

déplacer le fichier créé dans le dossier

<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:


Copiez les données à exporter dans le Presse-papiers.


menu Scripts > clipboard2textFile


Le script créera un fichier texte.


--=====


L'aide du Finder explique:

L'Utilitaire AppleScript permet d'activer le Menu des scripts :

Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.

Cochez la case "Afficher le menu des scripts dans la barre de menus".


+++++++++


Save the script as a Script, an Application or an Application Bundle:clipboard2textFile.xxx


Move the newly created file into the folder:

<startup Volume>:Users:<yourAccount>:Library:Scripts:


Coopy the datas to export into the clipboard


menu Scripts > clipboard2textFile


The script will create a text file.


--=====


The Finder's Help explains:

To make the Script menu appear:

Open the AppleScript utility located in Applications/AppleScript.

Select the "Show Script Menu in menu bar" checkbox.


+++++++++


Yvan KOENIG (Vallauris FRANCE)

7 juillet 2009

*)


--=====


on run

try

set enTexte to the clipboardastext

set fName to (do shell script "date " & quote & "+_%Y%m%d-%H%M%S.txt" & quote)


set p2d to path to desktop


tell application "System Events" to make new file at end of p2d with properties {name:fName}


write enTexte to file ((p2d as text) & fName)

on error

if my parleAnglais() then

error "The clipboard doesn’t contain text data. Maybe you selected a Numbers sheet !"

else

error "Le presse-papiers ne contient pas de données texte. Vous avez peut-être copié une feuille de Numbers !"

end if

end try

end run


--=====


on parleAnglais()

local z

try

tell application "Numbers" to set z to localized string "Cancel"

on error

set z to "Cancel"

end try

return (z is not "Annuler")

end parleAnglais


--=====

--[/SCRIPT]


Yvan KOENIG (VALLAURIS, France) vendredi 7 octobre 2011 11:15:58

iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0

My iDisk is : <http://public.me.com/koenigyvan>

Please : Search for questions similar to your own before submitting them to the community



Oct 7, 2011 6:32 PM in response to Jerrold Green1

Jerrold - this seemed to not transfer the data as a worksheet and therefore would not recognize the columns to assign them correctly. - During the upload, the cell data for the entire contact appears in every cell.


Yvan - unfortunately, using the Textedit option did not work either. When I attempted to upload, it recognized every cell as an individual entry, thus maxing out the number of contacts that is allowed.


Thank you for the recommendations, I thought one of them would work! I will call the company tomorrow to see if there is another way to upload my contacts - what a pain. Funny, in their online tutorial they are using a Mac, but it shows the option to save as a text file? Maybe they were using Mac Office instead of iWorks.


Melissa

Oct 7, 2011 6:47 PM in response to melissafromgilbert

Melissa,


I'm sorry that you are having difficulty. Yours is a tough question to handle according to the guidelines of the forum. We are supposed to test and confirm our suggestions, and indeed would like to do that, but in this case there is no possibility to try our methods from where we sit.


It may be a typo, but in your initial problem statement, you say that you need a "text delimited" data format. This doesn't help us. If you could pass along a more detailed format description it would be good, or maybe you could post a sample of a successful file.


Have you tried exporting from Address Book?


Regards,


Jerry

Oct 7, 2011 7:13 PM in response to Jerrold Green1

Jerry,

It is quite ridiculous how much time I have spent trying to upload these contacts - might have just typed them into their program quicker! Here are the directions that are posted on their website - It is when I get to the bolded section that my column headings do not appear as individual options, but instead as one option and the contacts import the entire address in each field. :-(



Don't want to continue to bug you with the issue, but I am "hard headed" so will try to call them tomorrow.


How do I import my contacts?

Before you can import your contacts you will need to have your contacts in an Excel readable format. If they are not currently in Excel you should be able to export them from your current contact management tool (Outlook, ACT, etc) into Excel.
1. Open your contacts in Excel. 2. Be sure that you have a column heading in row 1 of each column. It should contain the following column headers with the appropriate information below each column (*required field): *First Name, *Last Name, Company Name, Email Address, *Address 1, Address 2, *City, *State, *Zip, Country (required if outside the US), Work Phone, Home Phone, Fax Number, Cell Number, Pager Number, Birthday, Anniversary, Spouse's Name, Spouse's Birthday, **Group**If you are importing your contacts into a group you will also need to create a group in SendOutCards under the "Contacts" and then "Groups" link. In Excel you should have a column heading called Group and in all the cells below the name of the group you will be importing into. The group name is case sensitive! Be sure the group name is listed the same in SendOutCards and on your Excel spreadsheet.3. Once the document is formatted go to File and Save As.4. The File Type should be changed to Text (tab delimited).5. Give the file a new name and save the file somewhere you will be able to easily locate, for example on the desktop. 6. Once the document has been saved, go to the SendOutCards Main Menu and click on the "Contacts" link. 7. Now click on the "Import Contacts" link found on the bottom of the page. 8. Click the "Choose File" button and find the Text (tab delimited) file you saved, and then click the "Upload File" button.9. Click on the drop-down arrows that read "Not In File" to view your column headings.10. Match your column headings to the areas on the left.11. Enter a name for the upload under "Profile Name."12. Click "Update Profile." A sample of your upload will appear, verify that this information is correct.13. Click on "Import Entire File."14. You will be taken to the Main Menu and receive a message that says, "Your contacts have been imported successfully." Your contacts are now in the Contact Manager.

Oct 7, 2011 11:45 PM in response to melissafromgilbert

Melissa,


After reading the requirements, I agree that you could type a short contact list faster! Those requirements sound the same as for Importing into Apple's AddressBook. I recently went through that exercise here and couldn't believe how tedious it was, and in the case of Apple's instructions, how much more difficult than the instructions made it sound at first. To boil down what I read in your post above: You need to begin with a table that has a header row with every possible contact list field in it. Then fill out a body row in the table with whatever information you have for each contact. You will have many blank columns in the body of the table.


It seems that AddressBook, and possibly your Online Contact Manager, requires that import files have a field for every field in the Contact database, whether you need it or not. In Numbers the easiest way to get such a starting table is to drag one contact from your AddressBook to a blank area of a Numbers Sheet (away from any existing table - Best to start by deleting any existing table on the Sheet). This will give you a table with every possible field, but all but the populated ones for that particular contact will be hidden. To see them all, hover over the column label, click the triangle and select Unhide all columns.


Now you will have a starting point for making a table that can be imported into your conatct manager.


Jerry

Oct 8, 2011 12:24 AM in response to melissafromgilbert

melissafromgilbert wrote:


Yvan - unfortunately, using the Textedit option did not work either. When I attempted to upload, it recognized every cell as an individual entry, thus maxing out the number of contacts that is allowed.

What with the script ?


Alt scheme


Select the table

copy

paste in Pages

select the pasted table

Format > Table > Convert table to text

Export as text


Yvan KOENIG (VALLAURIS, France) samedi 8 octobre 2011 09:21:37

iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0

My iDisk is : <http://public.me.com/koenigyvan>

Please : Search for questions similar to your own before submitting them to the community



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I save a Numbers spreadsheet in .txt format?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.