Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to email oSheet
Message
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01335117
Message ID:
01335149
Views:
12
You can use SaveAs(0 method of a workbook.
...
oWorkbook.SaveAs(lcExcelFileName)
oExcel.Quit()
>I am doing some stuff like
>
>oExcel = createobject("excel.application")
>oWorkB = oExcel.workbooks.open(fname)
>oWorkS1 = Workbooks.worksheet[1]
>
>then I do row & cell manipulation
>.value = "whatever"
>
>Then at the bottom (of a do while) I Add a sheet
>oWorkS1 = oWorkB.Worksheets.Add( ,oWorks1)
>
>*At the bottom of my do while, What I would really like to do is somehow save the sheet I just created as an XLS
>or otherwise pass the sheet as a ".XLS" so that my email process can attach it to outgoing email *
>Is this possible? Thanks
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform