Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
(Sorry this is not strictly Excel charting but I have had no hints in
the Access groups where I posted this first - hoping someone in the Excel world can help me) Hi All I display an Excel chart in a MS Acess User form using an unbound OLE object. I am trying to change the Excel workbook(and therefore chart) that my OLEObject displays: Private Sub Form_Load() With Me.oleExcelChart ' SourceDoc is currently "W:\Public\83.xls" Debug.Print .SourceDoc .SourceDoc = "W:\Public\XX.xls" Debug.Print .SourceDoc ' ## how can I get the OLEobject to repaint/redisplay/ change?! End With End Sub When run this results in this output: W:\Public\83.xls W:\Public\XX.xls However the OLEObject is stil displaying 83.xls! How can I complete the step and tell the OLEobject to refresh/update to the new/different Excel file? Thanks in advance for any ideas, Chrisso |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data Refresh Issues when linking Access queries to Excel | Excel Discussion (Misc queries) | |||
Chart showing percent change | Charts and Charting in Excel | |||
Bart chart with lines showing % change between elements | Charts and Charting in Excel | |||
Excel chart data labels showing % change instead of value? | Charts and Charting in Excel | |||
Link Access query to refresh an EXCEL file | New Users to Excel |