Code: Select all
A B
1 start 2024
2 length 10
3 rrr 0.1
4 pgr 0.03
Code: Select all
A B
1 start 2024
2 length 10
3 rrr 0.1
4 pgr 0.03
Code: Select all
dict = {"start":2024,"length":10,"rrr":0.1,"pgr":0.03}
Code: Select all
Dim oSheet as Object
Dim oCell as Object
oSheet = ThisComponent.CurrentController.getActiveSheet()
oCell = oSheet.getCellRangeByName("A1:B4")
This is a range but not a single cell. (It is only a difference in the names, but it is better to name a range as oRange.)Code: Select all
oCell = oSheet.getCellRangeByName("A1:B4")
I do not know what is the "dictionary in the StarBasic, but (maybe) you can set (fill-in) the values of the "dictionary" by usage the Array dimensionsCode: Select all
dict = {"start":2024,"length":10,"rrr":0.1,"pgr":0.03}
How do you want to use the term "dictionary" here? I don't see one.