Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving a spreadsheet using Automation
Message
De
04/11/2004 16:52:42
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00958188
Message ID:
00958284
Vues:
20
Mike--

>Try referencing the workbook itself to see if it solves your problem
>
>
o = GETOBJECT(,'excel.application')
>owb = o.ActiveWorkbook
>owb.saveas(("c:\SamSludge.txt")
>

Your code worked (an extra left paren though). Can you explain why your code worked and my code

o.ActiveWorkbook.SaveAs ("c:\SamSludge.txt")

did not work?


Thanks.


Tim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform