Google script MOD
up vote
-3
down vote
favorite
I want to ask for checking the code:
function divisiblecheck() {
var spreadsheet = SpreadsheetApp.getActive();
var resultOfMod = (A1:J10)%2;
spreadsheet.getRange('A1:J10').activate();
if (resultOfMod=0){setFontColor('#ff0000'),setFontColor('#000000');
};
};
excel
New contributor
add a comment |
up vote
-3
down vote
favorite
I want to ask for checking the code:
function divisiblecheck() {
var spreadsheet = SpreadsheetApp.getActive();
var resultOfMod = (A1:J10)%2;
spreadsheet.getRange('A1:J10').activate();
if (resultOfMod=0){setFontColor('#ff0000'),setFontColor('#000000');
};
};
excel
New contributor
1
What isn't working with the above? i.e. what should it be doing and what is it currently doing?
– QHarr
Nov 10 at 16:06
Is this VBA? You have tagged excel...
– Solar Mike
Nov 10 at 16:12
add a comment |
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
I want to ask for checking the code:
function divisiblecheck() {
var spreadsheet = SpreadsheetApp.getActive();
var resultOfMod = (A1:J10)%2;
spreadsheet.getRange('A1:J10').activate();
if (resultOfMod=0){setFontColor('#ff0000'),setFontColor('#000000');
};
};
excel
New contributor
I want to ask for checking the code:
function divisiblecheck() {
var spreadsheet = SpreadsheetApp.getActive();
var resultOfMod = (A1:J10)%2;
spreadsheet.getRange('A1:J10').activate();
if (resultOfMod=0){setFontColor('#ff0000'),setFontColor('#000000');
};
};
excel
excel
New contributor
New contributor
New contributor
asked Nov 10 at 15:58
Tsang Kin Fun
1
1
New contributor
New contributor
1
What isn't working with the above? i.e. what should it be doing and what is it currently doing?
– QHarr
Nov 10 at 16:06
Is this VBA? You have tagged excel...
– Solar Mike
Nov 10 at 16:12
add a comment |
1
What isn't working with the above? i.e. what should it be doing and what is it currently doing?
– QHarr
Nov 10 at 16:06
Is this VBA? You have tagged excel...
– Solar Mike
Nov 10 at 16:12
1
1
What isn't working with the above? i.e. what should it be doing and what is it currently doing?
– QHarr
Nov 10 at 16:06
What isn't working with the above? i.e. what should it be doing and what is it currently doing?
– QHarr
Nov 10 at 16:06
Is this VBA? You have tagged excel...
– Solar Mike
Nov 10 at 16:12
Is this VBA? You have tagged excel...
– Solar Mike
Nov 10 at 16:12
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Tsang Kin Fun is a new contributor. Be nice, and check out our Code of Conduct.
draft saved
draft discarded
Tsang Kin Fun is a new contributor. Be nice, and check out our Code of Conduct.
Tsang Kin Fun is a new contributor. Be nice, and check out our Code of Conduct.
Tsang Kin Fun is a new contributor. Be nice, and check out our Code of Conduct.
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53240711%2fgoogle-script-mod%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What isn't working with the above? i.e. what should it be doing and what is it currently doing?
– QHarr
Nov 10 at 16:06
Is this VBA? You have tagged excel...
– Solar Mike
Nov 10 at 16:12