Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing form Excel
Message
From
19/08/1997 03:30:51
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
18/08/1997 09:08:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00044845
Message ID:
00045483
Views:
30
>>>I am using OLE Automation to feed a rather large 32 column crosstab
>>>result set to Excel. I am using Excel because of its print to fit and auto
>>>format capabilities.
>>>
>>>How can I automatically get the auto format and print to fit options of
>>>Excel set from VFP 5.0? I'd simply like to set up the spreadsheet
>>>print it and then release Excel and return control to VFP.
>>
>>Check the ole examples provided with VFP...
>>
>>Basically, what you can do is create a macro in Excel, edit and see how it is written in VB.(what functions etc. are used..)
>>
>>Then through createobject create a excel object in VFP...
>>
>>and write the related lines to print it..
>
>I tried that but it did not work. Some commands do not seem to work

Can you pls give some code, how exactly you are trying and where the problem is coming...
Previous
Reply
Map
View

Click here to load this message in the networking platform