Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to automate Excel cell value update
Message
From
12/09/2005 14:16:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01048875
Message ID:
01048877
Views:
24
How about a save in there somewhere
< snip >
      DO PopulateExcelArray
      .saveas(lcnewfilename)  && I know this is the correct syntac for save as, not sure about save.
      .Quit
>Excel gurus: HELP ---
>
>What commands will commit the values to an Excel spreadsheet?
>
>The following code has no error - - - and no update in my master spreadsheet either
>extra code removed (gLogMESS shows variables are correct as does dubug stepping)
>
>

> oExcel=CREATEOBJECT("Excel.Application")
> With oExcel
> .DisplayAlerts= .F.
> .WorkBooks.Open(ALLTRIM("C:\Daas\Absorb_2005new.xls"),0)
> .Sheets(ALLTRIM(" Buffing")).Select()
> DO PopulateExcelArray
> .Quit
> EndWith
> Release oExcel
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform