Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing XLS
Message
 
To
26/10/2009 07:45:19
Hong Yew
People Quest
Malaysia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01431458
Message ID:
01431544
Views:
41
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
Previous
Reply
Map
View

Click here to load this message in the networking platform