I have a macro which I have used in an old version of OpenOffice for a long time and it’s worked flawlessly on some pretty big spreadsheets. I cannot get this to work in Libreoffice 7.4.2.3 ( or some earlier versions too) The crux of the problem is that this statement won’t write the 1 (or a variable) to wtprod$
Mid(wtprod$, 1, 1) = “1”
I have also tried the statement form
Mid(wtprod$, 1, 1, “1”)
Using Mid() for referencing works ok. Am I missing something here?
Any help would be much appreciated.