Hi all, I'm in need of some help. I have created a script that uses a series of importranges to extract data from a number of Google Sheets into a centralised file which is working fine. The imported data includes a lot of white space and I would like the imported data to be trimmed after extraction, so that the Sheet is cropped to the data range. I've seen the online Google article that details adding this as an Extension, but ideally I would like this function to be added to my existing App Script and performed after each run of it, otherwise it'll be a very manual process of trimming each tab. Many thanks for your help.
Registered Office: BMI Group Holdings UK Limited, Thames Tower Reading RG1 1LX.Company number: 09984607VAT number. GB294008404
This email, including any attachments, is for the sole use of the intended recipient(s), and may contain information that is confidential or legally protected. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information or any attachments is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender by return e-mail that you have received the message in error and delete it along with any attachments. Please note that the Internet is not a safe means of communication or form of media.
Whilst we have taken reasonable precautions to ensure that this e-mail and any attachment has been checked for viruses, we cannot guarantee that they are virus free and we cannot accept liability for any damage sustained as a result of software viruses. We would advise that you carry out your own virus checks, especially before opening an attachment. --
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/7c5cb291-fcdc-42b4-8d83-aa5ca1ff3efen%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAJ8MD4ypkGjvOWuc3nSJUMn8cjT01t05qpVa76NsnRg4w2Q2Yw%40mail.gmail.com.
Dan Klinker
Finance Systems and Digitalisation Manager
T: +447702947674
M: +447702947674
E: daniel....@bmigroup.com
W: bmigroup.com
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAMAoYMwh%3DncLied0eUdVOF6HomBpMURNnL_xyRGqwdgZD0KUjg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAMAoYMz2tjuJ3xDdoQcwEzf2rDWzND4XWQ8xz1d%3DPELsQ3oGAw%40mail.gmail.com.