Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing XLS
Message
 
À
26/10/2009 07:45:19
Hong Yew
People Quest
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01431458
Message ID:
01431544
Vues:
42
See my notes below

>Hi all
>
>I have 2 Excel Workbooks - WB1.XLS & WB2.XLS
>
>WB2 has cells with formula link to cell values in WB1
>WB2 also has so macro to create charts from some data range that is linked to WB1
>
>If I change the cell values in WB1, is there a way to refresh the cells in WB2 programtiaclly without opening WB2

To update links Workbook should be open. Either user controls the behavior when opening workbook, or you control it via Excel automation:
oExcel.Workbooks.OPen(filename, .T.)
>
>Is there a way to run the macro in WB2 to refresh the charts in WB2 and also print charts in WB2 to a PDF file programatically?

See Thread #1060492

>
>Your advice much appreciated.
>
>Thanks & Best Regards
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform