Solved

Getting a misleading error using Google Script

Posted on 2015-02-08
2
76 Views
Last Modified: 2015-02-09
This code does basically what I want, copy and rename a sheet to the current date.  I found it and am trying to customize it to give me todays date.  I'm getting an error that I think is misleading, but I do not know what the real problem is

Im getting the error
Missing ; before statement
The line being pointed to  is  Date today = new Date();
You can see the full script in the attachment, I don't see what the problem is, but then this is the 1st time using Google script/Java

Any help will be appreciated
duplicateTemplateSheet.txt
0
Comment
Question by:c7c4c7
  • 2
2 Comments
 

Accepted Solution

by:
c7c4c7 earned 0 total points
ID: 40598652
See the following how I solved the problem

Thanks for all the help
duplicateTemplateSheet.txt
0
 

Author Closing Comment

by:c7c4c7
ID: 40598654
It did what I needed
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
simple java question 3 56
Error trying to install RTMT Win7 5 61
object oriented programming comparison 5 72
MySqlDump not dumping triggers 1 32
With voice direction tools, various map viewing styles, the ability to get directions for different means of transportation and great service, Google Maps is simply one of the best navigations app in the market.    However, over the past year, an …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This Micro Tutorial will demonstrate how marketers can use the Mobile Emulation Tool in Chrome Developer Tool. This will let you preview your site on any mobile device.
This Micro Tutorial will demonstrate Google Calendar to monitor updates with top sites, such as Facebook, Google, Twitter, etc. with Marketing News. Each update of Google Calendar can be monitored, correlate dips and spikes in your website traffic, …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question