I have a application that needs to both print foxpro reports and populate a pre-formatted excel spreadsheet that mirrors the reports. This is working great by using a scan loop and writing to each cell per row for each record. My problem is that for a certain excel worksheet, I have many more foxpro records than I have rows in the worksheet. Foxpro writes the data just fine but the result is that the extra rows are unformatted. I know by row number when this happens but don't know if it would be easier to insert rows to the worksheet before adding the data or format it add adding.
I am not sure how to do either method and would appreciate any help on the matter. Thanks in advance.
I am not sure how to do either method and would appreciate any help on the matter. Thanks in advance.