Submit Code

Instructions:

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.

Post Content:
    First, provide the service, class, and method of the code snippet you are submitting.
    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.
    Example:
    // 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[0].addIM(ContactsApp.Field.AIM, 'ChatWithJohn');

**If approved it will appear on the site as soon as possible. Thanks for contributing!
Please complete the required fields.

1-Click Access to over 2,000 Methods!