×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

VFP Class for XLSX Files
3

VFP Class for XLSX Files

VFP Class for XLSX Files

3
(OP)
Hello--

I have put a new beta release of the VFPxWorkbookXlsx class that provides for writing directly to XLSX files without the use of automation. This release I have added a new class that is a Report Listener class that will allow you to write to a XLSX file via a standard VFP Report (FRX) file. Please see the program main.prg for an example of calling the listener class and the properties that can be set to control the XLSX file generation. This class is located at:

https://github.com/ggreen86/XLSX-Workbook-Class

I would appreciate any feedback and reports of errors in generating the XLSX file.

Greg

RE: VFP Class for XLSX Files

Dear Greg,

I have already written in one of my posts for which you had replied with links onto this class.

Currently, I have some requirements for generating XLS/XLSX files from reports forms as a general feature in our application. I will certainly, download, do trial runs with various reports I have and update you very soon.

Thank you so much for taking your time and putting efforts to make something like this for the VFP community.
All best wishes dear Greg!

warm regards,
Rajesh

RE: VFP Class for XLSX Files

This class is fantastic, it allows you to generate Excel files from VFP cursors that include memo fields. Thanks for sharing this fabulous tool.
I have read the included documentation, but I can't find a way to make my entire sheet have "Segoe UI" size 9 as its font.

RE: VFP Class for XLSX Files

(OP)
There is a property for setting the default font name and font size. Please see the following properties:

this.DefaultFont = "Calibri"
this.DefaultFontSize = 11

These are used in the method SaveTableToWorkbookEx(). The method SaveGridToWorkbookEx() uses the grid column settings to determine the font name and size.

Greg

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close