I'm looking to convert a MS Excel Spreadsheet into a LibreOffice Calc Spreadsheet.
The Excel file contains a VBA Macro that iterates over a range of cells selected by the user, the Visual Basic code simply looking like this:
For Each Value In Selection
' Manipulate Value
Next Value
Where Selection
contains the cells in the worksheet manually selected by the user.
So, my question is: how can I reproduce this, accesing a user selected range of cells, in Libre Basic?
If you want to use the value of the cells
If you want to manipulate the cell's value, use a 2 dimensional array