Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapping data to Pre-formatted Excel spreadsheet
Message
From
12/06/2009 08:32:54
 
 
To
12/06/2009 07:16:34
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Vista
Miscellaneous
Thread ID:
01405443
Message ID:
01405462
Views:
52
>I am building an application to capture student data. This data will need to tie into the pre-formatted excel spreadsheet that the university already uses. So the first name, last name etc cells will always be A1 or A3 etc etc. The spreadsheet has (3) sheets to it.
>
>Any ideas on how I can tie the data into the spreadsheet given I know which cells the data should be bound to?

Hi Jeffrey

Have look at Rep2excel and/or CodeRep here in downloads.

They both contain rich automation class which you can use to easily poke values into
cells of excel template.

Class is made in such way that you manipulate excel as if it was 3d array.

So you can address and write any cell using Sheet>Row>Col as 'coordinate system'.

There are many methods there which make writing of excel sheet very easy. You can write entire array in one go, or spread delimited string across the range of cells, or write group of table records etc.

HTH
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform