Solved

Getting a misleading error using Google Script

Posted on 2015-02-08
2
78 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb entity bean example 2 38
Selenium docs api java index 3 69
American Express @Work site and Java 4 69
netbeans can not run self signed app 8 14
Google Forms is a great platform to easily create polls, questionnaires and surveys. The service allows you to receive data in real-time and is a simple way to conduct large-scale surveys that can be distributed to multiple people.   The platform …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
By using UNIQUE function in Google Sheets, you can get around removing duplicates like in Microsoft Excel.
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, …

726 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