Excel and Quad WX of 3
Posted: Sun Jan 01, 2017 6:52 pm
Happy New Year All.
I have a bunch of code that drives Excel, written back before ⎕WX 3. To keep it running I have ⎕wx←1.
I would like to get it to run under ⎕wx←3.
I have the following line of code that that returns a range object by specifying the upper left and bottom right cell addresses of the block of cells, (which then I can set or get the Value2 property):
I cannot seem to alter this to get it to run under WX 3. I understand that indexers and the item property are now different, but I don't get far. I clearly don't understand, at a minimum, how the cells collection is working.
Can someone give me a little insight here?
Is there documentation that I missed? I read the chapter on OLE, and it discusses some basic stuff with respect to changing from WX 1 to WX 3, but it did not help me rewrite the above line.
Thanks.
I have a bunch of code that drives Excel, written back before ⎕WX 3. To keep it running I have ⎕wx←1.
I would like to get it to run under ⎕wx←3.
I have the following line of code that that returns a range object by specifying the upper left and bottom right cell addresses of the block of cells, (which then I can set or get the Value2 property):
ws.Range ws.Cells.Item¨(2 3) (4 6)
I cannot seem to alter this to get it to run under WX 3. I understand that indexers and the item property are now different, but I don't get far. I clearly don't understand, at a minimum, how the cells collection is working.
Can someone give me a little insight here?
Is there documentation that I missed? I read the chapter on OLE, and it discusses some basic stuff with respect to changing from WX 1 to WX 3, but it did not help me rewrite the above line.
Thanks.