+ Reply to Thread
Results 1 to 5 of 5

Needs to add Range (Google App Script)

  1. #1
    Registered User
    Join Date
    07-29-2020
    Location
    Pakistan
    MS-Off Ver
    2016, 365
    Posts
    20

    Post Needs to add Range (Google App Script)

    I have been trying to add range of Invoice sheet, which PDF i have required in below the code can someone please help me in this regards.


    HTML Code: 

  2. #2
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Needs to add Range (Google App Script)

    your description is vague. you want to use the range class? or you want to select a RANGE on a sheet?

    https://developers.google.com/apps-s...eadsheet/range

  3. #3
    Registered User
    Join Date
    07-29-2020
    Location
    Pakistan
    MS-Off Ver
    2016, 365
    Posts
    20

    Re: Needs to add Range (Google App Script)

    My purpose is to add the range in the code to just convert the given range into PDF instead of whole sheet.

  4. #4
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Needs to add Range (Google App Script)

    i don't develop in goog sheets so I wouldn't have the time to look that up for you. I would assume you can, however it is not going to be as simple for you as just one single statement that has been created by the goog developers. and you won't find it in the documentation either.

  5. #5
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,150

    Re: Needs to add Range (Google App Script)

    Basically, you need to do the following in your script;

    1) Create a temporary sheet,

    2) Transfer the related range of data (A1:K33) to this temporary sheet,

    3) Export the temporary sheet as PDF,

    4) Send the temporary sheet to "Trash",

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  2. How to schedule e-mail with google script or vba
    By global5665 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 07-18-2017, 11:30 AM
  3. How to schedule e-mail with google script or vba
    By global5665 in forum Office 365
    Replies: 0
    Last Post: 07-18-2017, 11:23 AM
  4. Google Sheets Script not working
    By jsmity in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 02-02-2017, 11:36 AM
  5. google sheets button with script
    By tselek1985 in forum Excel General
    Replies: 1
    Last Post: 10-17-2016, 06:18 AM
  6. Looking for a way to populate cells based off multiple conditions
    By joker5893 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2016, 12:32 PM
  7. [SOLVED] Google excel script help
    By Ditch1983 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 01-21-2015, 10:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1