I have an external excel chart stored for every record.
In a form this works great, I just use the following code:
Which, naturally, does not work for a report.
Bloat is not an option - I can't afford to embed these. I've googled a bit, and it seems the only course of action is to make a temporary table or hidden form, linking the .xls there. Can someone please let me know how to do this workaround?
In a form this works great, I just use the following code:
Code:
' excelpath = "\\ccri-srv01\M2600\Labs\Keller\Images\" & [Mouse UID] & "\TumorSize.xls"
'
' If Dir(excelpath) = "" Then
' Me.TumorChart.SourceDoc = "\\ccri-srv01\M2600\Labs\Keller\Necropsy Manager\Blank.xls"
' Me.TumorChart.Action = acOLECreateLink
' Else
' Me.TumorChart.SourceDoc = excelpath
' Me.TumorChart.Action = acOLECreateLink
' End If
Which, naturally, does not work for a report.
Bloat is not an option - I can't afford to embed these. I've googled a bit, and it seems the only course of action is to make a temporary table or hidden form, linking the .xls there. Can someone please let me know how to do this workaround?