Post Title: Choose a title to describe your submission.
Example: Move Data Within Spreadsheet.
Post Tags: Add your username as the first and then as many tags as you would like, separated by commas.
Example: yourUsername, Array, Color Manipulation, etc
Anti-Spam Question: Answer to help prevent spam.
First, provide the service, class, and method of the code snippet you are submitting.
**If approved it will appear on the site as soon as possible. Thanks for contributing!
Example: // Service=Calendar, Class=Calendar, Method=createAllDayEvent(title, date)
Second, on a new line put your username and website link to be displayed with the code (or put "Anonymous")
Example: // Anonymous http://www.anonymous.com
Third, provide your code snippet. Be sure it is clearly commented and formatted in an attractive manner.
// The code below retrieves a contact named "John Doe" and adds the IM address "ChatWithJohn"
// with the the ContactsApp.Field.AIM label.
var contacts = ContactsApp.getContactsByName('John Doe');
var email = contacts.addIM(ContactsApp.Field.AIM, 'ChatWithJohn');