Search found 18 matches
- Fri Aug 09, 2019 12:35 pm
- Forum: XLSReadWritwII 6
- Topic: Excel97 sheet references
- Replies: 3
- Views: 6863
Re: Excel97 sheet references
Hi. If I remove line "XLS[1].Name := 'Sheet2';" then new sheet really have name Sheet2, but I got error in line "excel[0].AsFormula[0, 0] := 'Sheet2!B1';" Project Project3.exe raised exception class XLSRWException with message 'Error in formula Sheet2!B2 Unknown name SHEET2'. If ...
- Fri Aug 09, 2019 12:31 pm
- Forum: XLSReadWritwII 6
- Topic: Excel97 sheet references
- Replies: 3
- Views: 6863
Re: Excel97 sheet references
sorry for double message
- Fri Jul 12, 2019 1:24 pm
- Forum: XLSReadWritwII 6
- Topic: Excel97 sheet references
- Replies: 3
- Views: 6863
Excel97 sheet references
Hi. I try to set reference in formula to another sheet but get error Project Project3.exe raised exception class XLSRWException with message 'Error in formula 'Sheet2'!B1 Unknown name Sheet2'. My code var excel: TXLSReadWriteII5; begin excel := TXLSReadWriteII5.Create(nil); excel.Version := xvExcel9...
- Wed May 15, 2019 2:27 pm
- Forum: XLSReadWritwII 6
- Topic: Sparklines disappears
- Replies: 1
- Views: 5173
Sparklines disappears
Sparklines are tiny charts that reside in a cell in Excel.
Starts in Excel 2010.
Adds from ribbon Insert -> Line.
Bug is easy to reproduce.
Create Excel file with sparkline.
TXLSReadWriteII5.LoadFromFile
Do nothing
TXLSReadWriteII5.SaveToFile
New file has no sparklines.
Regards, Anton.
Starts in Excel 2010.
Adds from ribbon Insert -> Line.
Bug is easy to reproduce.
Create Excel file with sparkline.
TXLSReadWriteII5.LoadFromFile
Do nothing
TXLSReadWriteII5.SaveToFile
New file has no sparklines.
Regards, Anton.
- Fri Jun 08, 2018 1:32 pm
- Forum: XLSReadWritwII 6
- Topic: ColumnGroup lost
- Replies: 0
- Views: 2889
ColumnGroup lost
Hi.
I grouped columns in Excel (VB command Columns("E:J").Select Selection.Columns.Group) and saved file in Excel97 format.
When I open file with TXLSReadWriteII5 and save it again (no other actions) column grouping disappears.
Same actions with XLXS works fine.
Regards.
I grouped columns in Excel (VB command Columns("E:J").Select Selection.Columns.Group) and saved file in Excel97 format.
When I open file with TXLSReadWriteII5 and save it again (no other actions) column grouping disappears.
Same actions with XLXS works fine.
Regards.
- Tue Mar 13, 2018 1:53 pm
- Forum: XLSReadWritwII 6
- Topic: Create new Excel97 file
- Replies: 1
- Views: 1992
Create new Excel97 file
Hi.
This code generates error 'Can not convert XLSX to XLS' because FBIFF is not created until I load Excel97 file from disk
How can I create new Excel97 file?
Regards.
Moisha.
This code generates error 'Can not convert XLSX to XLS' because FBIFF is not created until I load Excel97 file from disk
Code: Select all
FExcel := TXLSReadWriteII5.Create(nil);
FExcel.SaveToFile(fileName, xvExcel97);
Regards.
Moisha.
- Tue Mar 13, 2018 10:11 am
- Forum: XLSReadWritwII 6
- Topic: TXLSWorksheet.AutoWidthCol ignores IsWrapText property
- Replies: 1
- Views: 2218
TXLSWorksheet.AutoWidthCol ignores IsWrapText property
Hi. Procedure TXLSWorksheet.AutoWidthCol calculates column width using function TCanvas.TextWidth. This function works for single lines only. I suggest the next improvement for function TXLSWorksheet.AutoWidthCol: var tw: integer; r: TRect; begin ....... S := GetAsFmtString(ACol,FCells.IterCellRow);...
- Tue Feb 20, 2018 11:29 am
- Forum: XLSReadWritwII 6
- Topic: Formulas fails when <CR> inside
- Replies: 1
- Views: 1953
Formulas fails when <CR> inside
The problem is easy to reproduce xls := TXLSReadWriteII5.Create(nil); xls[0].AsFormula[1, 1] := 'IF(A1="";'#13'"1";"0")'; Code fails and memory leak present: TXLSTokenizerList is not destroed. MS Excel has no problems parsing such expressions. I suggest the next improve...
- Tue Feb 06, 2018 1:49 pm
- Forum: XLSReadWritwII 6
- Topic: BIFF_WriteII5.TXLSWriteII.WREC_NAME fails when Name.Ptgs=nil
- Replies: 1
- Views: 2005
BIFF_WriteII5.TXLSWriteII.WREC_NAME fails when Name.Ptgs=nil
Hi Lars. Do not know why it may happen, but sometimes FManager.Workbook.DefinedNames .Ptgs=nil. May be the reason is link to non exisiting external file. Such link is bad case but SaveToFile should not fail. I made little improvement in my copy of source code (if (Name.Ptgs <> nil) before each use o...
- Mon Aug 21, 2017 4:55 am
- Forum: XLSReadWritwII 6
- Topic: Multipe warnings
- Replies: 3
- Views: 3225
Re: Multipe warnings
Hi.
We use Delphi XE4 Update 1, it's the only update for XE4.
Find in source code commented lines marked "make compiler happy".
Uncommenting did the trick, no warnings now.
Regards.
We use Delphi XE4 Update 1, it's the only update for XE4.
Find in source code commented lines marked "make compiler happy".
Uncommenting did the trick, no warnings now.
Regards.
- Fri Aug 18, 2017 1:28 pm
- Forum: XLSReadWritwII 6
- Topic: Multipe warnings
- Replies: 3
- Views: 3225
Multipe warnings
Hi. Just upgraded v5 to v6. Got multiple warnings during compile. Some of them (i.e. Implicit string cast from 'AnsiChar' to 'string') are just copiler paranoia but the others make me a little nervous. [dcc32 Warning] XLSZip5.pas(269): W1035 Return value of function 'TXLSZipArchive.AddFolderChain' m...
- Fri Jul 14, 2017 10:06 am
- Forum: XLSReadWriteII 3/4/5
- Topic: formula with external file reference
- Replies: 3
- Views: 10230
Re: formula with external file reference
Is this issue fixed?
I'he got XLSReadWriteII 5 v5.20.85 and the same problem.
I'he got XLSReadWriteII 5 v5.20.85 and the same problem.
- Thu Mar 02, 2017 12:30 pm
- Forum: XLSReadWriteII 3/4/5
- Topic: function TXLSNames.Add bug
- Replies: 5
- Views: 10639
Re: function TXLSNames.Add bug
Hi.
Code fails on last XLSReadWriteII 5 for XE4 from http://www.axolot.com/components/f_downloadreg.htm.
Is version 5 supported or it is nessessary to buy version 6 for further support?
Regards.
Anton.
Code fails on last XLSReadWriteII 5 for XE4 from http://www.axolot.com/components/f_downloadreg.htm.
Is version 5 supported or it is nessessary to buy version 6 for further support?
Regards.
Anton.
- Mon Feb 27, 2017 12:12 pm
- Forum: XLSReadWriteII 3/4/5
- Topic: function TXLSNames.Add bug
- Replies: 5
- Views: 10639
Re: function TXLSNames.Add bug
Here is code generating described error. program AddNameErr; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils, XLSSheetData5, XLSReadWriteII5; var xls: TXLSReadWriteII5; sheet: TXLSWorksheet; begin xls := TXLSReadWriteII5.Create(nil); sheet := xls.Add(); sheet.Name := 'one two'; try xls.Names.Add(...
- Mon Feb 27, 2017 11:54 am
- Forum: XLSReadWriteII 3/4/5
- Topic: XLSReadWriteII5. TXLSTokenizer.DoName bug in russian charset
- Replies: 3
- Views: 8760
Re: XLSReadWriteII5. TXLSTokenizer.DoName bug in russian charset
I Downloaded last XLSReadWriteII 5 for XE4 from http://www.axolot.com/components/f_downloadreg.htm.
File BIFF_EncodeFormulaII5.pas
File BIFF_EncodeFormulaII5.pas