Search found 5 matches

by AllanGMorris
Mon Jun 19, 2017 5:44 am
Forum: XLSReadWritwII 6
Topic: Error openinng xls files.
Replies: 3
Views: 3128

Error openinng xls files.

Hi, I have an issue opening xls files (excel97-2003 format), I am getting a strange error of Missing Password and XLSX files are read OK without any issue. I have tried to open with a specific version by setting the version: SampleWorkbook:= TXLSReadWriteII5.Create(Nil); SampleWorkbook.Filename := '...
by AllanGMorris
Tue Jun 06, 2017 10:15 pm
Forum: XLSReadWritwII 6
Topic: Asformula receiving #VALUE! error when column is blank
Replies: 2
Views: 2584

Re: Asformula receiving #VALUE! error when column is blank

Hi Lars,

I upgraded to the latest version and it all works fine.

Thanks
Allan
by AllanGMorris
Mon Jun 05, 2017 2:10 am
Forum: XLSReadWritwII 6
Topic: Asformula receiving #VALUE! error when column is blank
Replies: 2
Views: 2584

Asformula receiving #VALUE! error when column is blank

Hi, I am receiving an #Value response to a formula when one of the cells is blank. Book.Sheets[0].asformula[1,1] := 'D1+E1'; sRatePrice := Book.Sheets[0].Calculate(1, i); When either D1 or E1 is blank I get the error via sRatePrice, if both are valid numerics then the formula calculates as expected....
by AllanGMorris
Tue Dec 23, 2014 11:25 pm
Forum: XLSReadWritwII 6
Topic: VLOOKUP referring to another workbook
Replies: 1
Views: 1702

VLOOKUP referring to another workbook

Hi, I am trying to perform a VLookup referring to another workbook and getting uknown sheet name The lookup contents is VLOOKUP(B4,"[MAPPING.xlsx]"MAP!$N$2:$O$52,2,FALSE) It doesn't seem to recognise the sheet MAP but it is definately there? Is my lookup definition incorrect? Thanks Allan
by AllanGMorris
Sun Dec 14, 2014 1:43 am
Forum: XLSReadWritwII 6
Topic: Exception E4003: Invalid fractional number on calculate
Replies: 0
Views: 2430

Exception E4003: Invalid fractional number on calculate

Hi, I have a multi-threaded application which reads a series of CSV's (sometimes the same file in separate threads) , does some calcs and propagates results to oracle db. I am receiving E4003 exception when I am setting the asformularef to the required formula The exception does not occur everytime ...