Hi All,
I just wondered if someone could advise on how the follow.
I need to be able off the back of a macro for one cell to keep a count of every time a button is pressed.
I google sheets i know this is possible with the following function as show below, but wondered if the same could be done in excel?
function b4plus() {
ss=SpreadsheetApp.getActiveSpreadsheet()
s=ss.getActiveSheet()
var currVal=s.getRange("B9").getValue()
var plusVal= currVal +1
s.getRange("B9") .setValue(plusVal)
}
Kind Regards
I just wondered if someone could advise on how the follow.
I need to be able off the back of a macro for one cell to keep a count of every time a button is pressed.
I google sheets i know this is possible with the following function as show below, but wondered if the same could be done in excel?
function b4plus() {
ss=SpreadsheetApp.getActiveSpreadsheet()
s=ss.getActiveSheet()
var currVal=s.getRange("B9").getValue()
var plusVal= currVal +1
s.getRange("B9") .setValue(plusVal)
}
Kind Regards