Reputation: 185
I want to use both advanced parameters with Google's copyTo function. The first two work:
sourceRange.copyTo(targetRange, {contentsOnly:true});
sourceRange.copyTo(targetRange, {formatOnly:false});
However this does not.
sourceRange.copyTo(targetRange, {contentsOnly:true}, {formatOnly:false});
Am I making a formatting error?
Upvotes: 0
Views: 342
Reputation: 185
And immediately after posting I worked it out, it's supposed to be like this:
sourceRange.copyTo(targetRange, {contentsOnly:true, formatOnly:false});
Upvotes: 1