Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yet more excel trouble
Message
De
26/01/2005 07:40:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
00980651
Message ID:
00980677
Vues:
59
Hi Borislav,

don't you know that you can change your message as long as nobody has replied to it? Open it, and select Update!

>Again I send just only Your question :o((( Sorry
>
>What happens If You change the code like this:
>
>old_error = ON("ERROR")
>fl_error = .f.
>ON ERROR fl_error = .f.
>oExcel = CreateObject("Excel.Application")
>ON ERROR &old_error
>IF fl_error .OR. TYPE("oExcel") # "O" .OR. ISNULL(oExcel)
>   MessageBox("I can't create an Excel Object", 0, "Warning")
>   RETURN .f.
>ENDIF
>oWorkbook = oExcel.workbooks.open(alltrim(basevars.baseljb) + "LaserJobbag.xls")
>...
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform