Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 28 Mar 2024, 22:14

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 22 Feb 2012, 11:24 
Offline

Joined: 22 Feb 2012, 11:20
Posts: 2
Hi!
I want to know to use the procedure "ExportDBGridEhToOleExcel"


Top
 Profile  
 
PostPosted: 22 Mar 2012, 09:08 
Offline

Joined: 22 Mar 2012, 09:07
Posts: 1
:cry:


Top
 Profile  
 
PostPosted: 26 Mar 2012, 11:43 
Offline
Администратор

Joined: 22 Dec 2011, 20:19
Posts: 335
Hello

Here is an example:

ExportDBGridEhToOleExcel(DBGridEh1, [], True);

Here is declaration of ExportDBGridEhToOleExcel:

Code:
function ExportDBGridEhToOleExcel(DBGridEh: TCustomDBGridEh;
  Options: TDBGridEhExportAsOLEXLSOptions; IsSaveAll: Boolean = True): Variant;

type
  TDBGridEhExportAsOLEXLSOption = (oxlsColoredEh, oxlsDataAsDisplayText,
    oxlsDataAsEditText);

  TDBGridEhExportAsOLEXLSOptions = set of TDBGridEhExportAsOLEXLSOption;


function returns Instance of Excel.Application created by CreateOleObject('Excel.Application') function.
So you can perform addidtion action after creation data.

Best regards
Admin.

_________________
Best regards
Admin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group