I’m trying to create a simple tool in LibreCalc to help learn a language. I have used the rand.nv function to generate a random number within a range, followed by VLOOKUP to find that value in another sheet. The word in English is then shown, and I have a command button (macro) to show the translation. A second command button (macro) clears the translation and shows a new word.
The problem I have here is that because the selection is random, some words are coming up multiple times, and others not at all. It would be nice to use a macro to delete that row so the word will not be shown again (until I manually add a list of new words) but i’m struggling with that.
Can anyone help?
David
This is the relevant info relating to my document.
In sheet ‘vocabulary’ I have a list of numbers in ‘column A’ generated using the following formula
=ROW()-1
In sheet ‘working’ I have used the following formula to generate a random number in cell A1
=RANDBETWEEN.NV(1,(COUNTA($VOCABULARY.A:$VOCABULARY.A)))
Need a macro to search for $working.A1 in $vocabulary.A, and delete that whole row.