Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8448847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:32:17+00:00 2026-06-10T10:32:17+00:00

Question with no context: Is there Google Apps Spreadsheet script property for looking at

  • 0

Question with no context:

Is there Google Apps Spreadsheet script property for looking at a Spreadsheet file and detecting whether or not that file contains scripts?

Question with context:

I’m wanting to programmatically copy a spreadsheet in Google Apps. the spreadsheet has several script function in one script file. I’ve tried setting it up as a template and that just resulted in errors (actually it wasn’t me in this part so I’m not 100% clear here. The error was something on Google’s end. The error message would appear at the top of the spreadsheet file when opened and none of the scripts would be linked.)

The issue I’m trying to resolve is whenever I copy the file, as a regular spreadsheet and not a template, it brings up a new tab that says “Loading…” and either finishes and closes that tab or just hangs and never closes the tab. If it actually finishes then the resulting copied file is the same as the source file. However, if the “Loading” tab never closes then the file will seemingly be copied but none of the scripts will have been copied over.

What I’d like to do is make a script that copies my files. If the resulting spreadsheet has scripts in it then stop but if there are no scripts present then delete that file and try again.

What I cannot find is a way to look at the contents of a Spreadsheet file and discover if there are scrips associated with it. Surely this property exists.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T10:32:18+00:00Added an answer on June 10, 2026 at 10:32 am

    There is no such method to check wether a script is attached to a spreadsheet or not.

    I’m a bit surprised by the trouble you are experiencing with copies… I’ve never had such issues …

    If you want to be sure of your copy in a programitical approach, I guess the best solution would be to place your copy command in a try/catch structure : if no error occurs in the copy process then you can be sure the copy is a perfect clone of the original file. Use the Docslist service, file.makeCopy (doc here)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Question context: let say that there is some really important row in config/locales/en.yml that
(See question below for more context): Are there any situations in which <machineKey validationKey=AutoGenerate,IsolateApps
My question is exactly that but in context I want to examine the selection
I have a question regarding Google Docs and content controls (if there are any?)
I've just received an email from Google telling me that one of my apps
This is a very general question, and I think my context does not matter
The context: My question relates to improving web-page loading performance, and in particular the
I have a prototype question in the context of Ruby on Rails. QUESTION -
Context I apologize for this question being soft / philosophical; it's a set of
This question has been asked in a C++ context but I'm curious about Java.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.