Search found 19 matches

by Mojoala
Mon Nov 04, 2013 9:53 pm
Forum: XLSReadWriteII 3/4/5
Topic: How do you hide the Grid Lines>
Replies: 2
Views: 9818

Re: How do you hide the Grid Lines>

Thanks, I foundi it....
by Mojoala
Thu Oct 31, 2013 7:29 pm
Forum: XLSReadWriteII 3/4/5
Topic: How do you hide the Grid Lines>
Replies: 2
Views: 9818

How do you hide the Grid Lines>

Thanks in Advance..
by Mojoala
Thu Oct 24, 2013 3:53 pm
Forum: XLSReadWriteII 3/4/5
Topic: Adding Picture from Dataset graphic field?
Replies: 3
Views: 10325

Re: Adding Picture from Dataset graphic field?

I've never worked with streams, so I need a little help here on how to initiate from a standard TTable or TdataSet.

Thanks in Advance...
by Mojoala
Mon Sep 30, 2013 3:37 pm
Forum: XLSReadWriteII 3/4/5
Topic: Insert an image into sheet
Replies: 3
Views: 11809

Re: Insert an image into sheet

Here is Delphi Code. It is a passed in procedure ( We have a lot of excel exports, so it was refactored down to a single line call and have one routine do all of the coding) LOGO is a Global varible: Procedure LoadPic(var aXLS: TXLSReadWriteII4; var cl, rw, ImgWid, ImgHgt, ts : Integer); var ii, jj,...
by Mojoala
Fri Sep 27, 2013 10:48 pm
Forum: XLSReadWriteII 3/4/5
Topic: Adding Picture from Dataset graphic field?
Replies: 3
Views: 10325

Adding Picture from Dataset graphic field?

Hello everyone.

How do you add a picture from a dataset graphic field?

The help and forum search only shows how to from a load from file perspective.

Thanks in Advance...
by Mojoala
Thu Aug 15, 2013 9:14 pm
Forum: XLSReadWriteII 3/4/5
Topic: Insert an image into sheet
Replies: 3
Views: 11809

Re: Insert an image into sheet

Can someone convert this to delphi code please?
by Mojoala
Mon May 27, 2013 5:06 pm
Forum: XLSReadWriteII 3/4/5
Topic: What are the acceptable values for NumberFormat Color
Replies: 1
Views: 8797

What are the acceptable values for NumberFormat Color

[Red] is one and [Green] is the other except [Green] is more akin to Lime once it gets to the Excel Sheet.

So what are my options?

TIA
by Mojoala
Mon Apr 01, 2013 4:52 pm
Forum: XLSReadWriteII 3/4/5
Topic: Reference in Formula is disappearing
Replies: 1
Views: 10362

Re: Reference in Formula is disappearing

Okay I've got reproduceable Delphi Code: unit fMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, XLSReadWriteII4, DB, DBClient; type TMain = class(TForm) XLS: TXLSReadWriteII4; btnExport: TButton; dlgExcelExport: TSaveDialog; procedure...
by Mojoala
Wed Mar 27, 2013 4:10 pm
Forum: XLSReadWriteII 3/4/5
Topic: Reference in Formula is disappearing
Replies: 1
Views: 10362

Reference in Formula is disappearing

This is my last procedure before XLS.Write call Delphi Code procedure TfrmXlsPBA.LoadOrderFormulas; var OrdNumRef, SpotRef, CostRef, GrpRef1, GrpRef2, Formula : string; OrdStartRef, OrdEndRef, TrueRef : string; begin XLS.BeginUpdate; OrdStartRef := ColRowToRefStr(0, StartRow, false, false); //GETS A...
by Mojoala
Thu Jan 24, 2013 9:52 pm
Forum: XLSReadWriteII 3/4/5
Topic: XLSReadWriteII4: Add same picture in multiple sheets
Replies: 13
Views: 20780

Re: XLSReadWriteII4: Add same picture in multiple sheets

I did not try the VB code. It was from an online translator.

Now the Delphi Code does work and I will be using it.

thanks!
by Mojoala
Thu Jan 24, 2013 9:50 pm
Forum: XLSReadWriteII 3/4/5
Topic: XLSReadWriteII4: Add same picture in multiple sheets
Replies: 13
Views: 20780

Re: XLSReadWriteII4: Add same picture in multiple sheets

And here is the Delphi Code FYI: Logo is a Global function elsewhere which returns the entire path and file name procedure LoadTheLogoNew(var aXLS: TXLSReadWriteII4; c1, r1, c2, r2, ts : Integer); var xlSht : TSheet; msoPict : TMSOPicture; picID : integer; drwPict : TDrwPicture; begin if UpperCase(E...
by Mojoala
Thu Jan 24, 2013 8:42 pm
Forum: XLSReadWriteII 3/4/5
Topic: XLSReadWriteII4: Add same picture in multiple sheets
Replies: 13
Views: 20780

Re: XLSReadWriteII4: Add same picture in multiple sheets

I deleted the VB code since I can not verify it's workability, but one could easily create a VB Code from the Delphi code a lot easier then from the C++ code; After using the online C++ to VB converter, it was easier to convert to Delphi from the VB code. http://converter.telerik.com <------ tries t...
by Mojoala
Thu Jan 24, 2013 8:17 pm
Forum: XLSReadWriteII 3/4/5
Topic: XLSReadWriteII4: Add same picture in multiple sheets
Replies: 13
Views: 20780

Re: XLSReadWriteII4: Add same picture in multiple sheets

Now if some one can convert that to Either Delphi code or Visual Basic code....
by Mojoala
Wed Jan 23, 2013 11:13 pm
Forum: XLSReadWriteII 3/4/5
Topic: XLSReadWriteII4: Add same picture in multiple sheets
Replies: 13
Views: 20780

Re: XLSReadWriteII4: Add same picture in multiple sheets

I need help with this as well. And I see there is no answer yet.
by Mojoala
Thu Sep 27, 2012 3:00 am
Forum: XLSReadWriteII 3/4/5
Topic: AsFormula?
Replies: 2
Views: 4054

Re: AsFormula?

finally got it

colrow1 := ColRowToRefStr(holdcol1, row, false, false);
colrow2 := ColRowToRefStr(holdcol2, row, false, false);
ref := colrow1 + '/' + colrow2;
XLS.Sheets[0].AsFormula[col, row] := ref;

:lol: