Search found 10 matches

by Roman55
Tue May 21, 2013 8:04 am
Forum: XLSReadWritwII 6
Topic: Landscape mode for Excel97
Replies: 1
Views: 1947

Re: Landscape mode for Excel97

Tested in 5.10.21, still I can't set page orientation. Please fix this.
by Roman55
Tue May 07, 2013 5:15 am
Forum: XLSReadWritwII 6
Topic: Charts in XLSReadWriteII 5
Replies: 3
Views: 3168

Re: Charts in XLSReadWriteII 5

Is there any update on this, Lars? I know you plan to deal with charts later, but this seems to be a small bug, because everything else related to chart works normally. With the "Series[0].Values := ... " commented, I get the chart with all its settings, even with X-values. It just lacks Y...
by Roman55
Fri Apr 26, 2013 8:47 am
Forum: XLSReadWritwII 6
Topic: VBA support
Replies: 0
Views: 2553

VBA support

Hello Is there a macros support for Excel97? The sample code from BIFF_VBA5.pas works but Excel 2003 crashes trying to open output file. xlsRW.BIFF.ReadMacros := true; xlsRW.VBA.EditVBA := True; // Add a VBA module and a procedure. with xlsRW.VBA.AddModule('Module1',vmtMacro) do begin Source.Text :=...
by Roman55
Fri Apr 26, 2013 5:03 am
Forum: XLSReadWritwII 6
Topic: SST String is Nil
Replies: 7
Views: 5845

Re: SST String is Nil

I get the same error "SST String is Nil" when trying to format a single cell. The code is: xlsRW := TXLSReadWriteII5.Create(nil); xlsRW.Filename := 'test.xlsx'; with xlsRW[0] do begin AsString[0, 0] := 'Test string'; with Cell[0, 0] do begin HorizAlignment := chaCenter; FontStyle := [xfsBo...
by Roman55
Tue Apr 23, 2013 4:51 am
Forum: XLSReadWritwII 6
Topic: Landscape mode for Excel97
Replies: 1
Views: 1947

Landscape mode for Excel97

Hello

Can't set landscape orientation for Excel97. Output document has portrait mode, even with an explicit setting:

Code: Select all

xlsRW.Sheets[0].PrintSettings.Options := [];
by Roman55
Mon Apr 22, 2013 4:05 am
Forum: XLSReadWritwII 6
Topic: Freeze Panes
Replies: 4
Views: 2973

Re: Freeze Panes

Can't get frozen panes working for Excel 97. The code above does nothing.
There is also TXLSWorksheet.FreezePanes method, but it doesn't work either, and it causes document scroll failure.
Tested on version 5.10.16. Please help.
by Roman55
Tue Apr 16, 2013 10:54 am
Forum: XLSReadWritwII 6
Topic: Rich text problem
Replies: 3
Views: 3672

Re: Rich text problem

Nevermind1003, thanks for reply. I checked again and found AsRichText working in 5.10.16. It seems the parser has been fixed.
by Roman55
Tue Apr 16, 2013 10:36 am
Forum: XLSReadWritwII 6
Topic: Notes in Excel2007
Replies: 1
Views: 2020

Notes in Excel2007

Hello Please provide an example to add note to a cell. For Excel97, the following code works: Result := xlsRW[0].Drawing.BIFFDrawing.Notes.Add; Result.Text := text; BIFFDrawing is nil for Excel2007 mode, so I can't use it. Samples directory has an example called "Comment" that works for Ex...
by Roman55
Wed Mar 27, 2013 3:04 am
Forum: XLSReadWritwII 6
Topic: Charts in XLSReadWriteII 5
Replies: 3
Views: 3168

Re: Charts in XLSReadWriteII 5

Hello Need charts support also. After porting my code to version 5, got an error on this line when trying to set values for series: Series[0].Values := 'Data!$B$2:$B$102'; The error is below: Exception EAccessViolation: Access violation at address 00000000. Read of address 00000000 (OS exception) ex...
by Roman55
Tue Mar 26, 2013 11:51 am
Forum: XLSReadWritwII 6
Topic: Rich text problem
Replies: 3
Views: 3672

Rich text problem

Hello I try to insert some rich text into a cell with this code: xlsRW.AsRichText[2, row] := '{\rtf1\ansi \ansicpg1252{\fonttbl{\f0\fnil Times New Roman}} \f0\fs22\ a \f0\fs22\ = 1000 }'; The result must be a simple text with a different font size for letter "a". As for version 4, this wor...