[Solved] Counting the user INPUTS?
[Solved] Counting the user INPUTS?
is there a way to count the number of times a user filled-up a certain cell???
Last edited by Hagar Delest on Mon Nov 23, 2015 11:24 pm, edited 1 time in total.
Reason: tagged [Solved].
Reason: tagged [Solved].
OPENOFFICE 4.1.2
Re: counting the user INPUTS?
Right-click sheet, Sheet Events, Content changed...
Insert blank sheet behind the current one where all changes of all cells are counted in the corresponding cell.
Insert blank sheet behind the current one where all changes of all cells are counted in the corresponding cell.
Code: Select all
Sub Sheet1_Changed(e)
'globalscope.basiclibraries.loadlibrary("MRILib")
'MRI e
a = e.getCellAddress()
REM write to next sheet
c = ThisComponent.Sheets(a.Sheet +1).getCellByPosition(a.Column, a.Row)
c.setValue(c.getValue()+1)
End Sub
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: counting the user INPUTS?
Sir thanks for your reply. I appreciate it. Last one question, what if you want to count only the number of times a user INPUTS a certain value. like number of times a user inputs yes in a "yes or no" question? (the user inputs X number of Yes out of 10 question something like that, kobe bryants shots 5 out of 10 shots...)
OPENOFFICE 4.1.2
Re: counting the user INPUTS?
Is this possible to define this event in Basic Macro?Villeroy wrote:Right-click sheet, Sheet Events, Content changed...
(...)
OpenOffice 3.2.1, Windows XP/Vista
Re: [Solved] Counting the user INPUTS?
What use? The assignment of a Sub to a sheet event is saved with the document. Once done the setting will persist. No need for a second "macro".arrowman wrote:Is this possible to define this event in Basic Macro?
(See also: https://ask.libreoffice.org/en/question ... y-a-macro/.)
On Windows 10: LibreOffice 25.2.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
---
Lupp from München