all in the title. I want to move the viewer such that I am looking at a particular cell which I want the user to change. I am not seeing any way to do this in a BASIC macro, and the documentation is too fragmented to be much help. Here’s the context
'look for duplicate entries
for ii = dataStart + 1 to dataEnd step 1
calcS2 = calcS1
calcS1 = thisComponent.Sheets(0).getCellByPosition(0, ii) & thisComponent.Sheets(0).getCellByPosition(1, ii)
if calcS2 = calcS1 then
msgBox("ERROR: Duplicate entries on line " & ii)
viewTheFollowingSheetColumnRow(0, 0, ii)
else
end if
next ii
And while I’m here, these are the resources I’ve found for BASIC, which are wanting. If anyone has a LibreOffice BASIC bible, I’d be much obliged.
https://wiki.openoffice.org/wiki/Documentation/BASIC_Guide
http://docs.libreoffice.org/sc/html/index.html
ps. Libre office 3.5.7.2, on Ubuntu 12.04 LTS