OLE Object Linking

T

Tom

Access97

I have an Excel worksheet that contains seven graphs. In my application I have
seven subreports in an unbound report. In each subreport I Paste-Linked one of
the graphs in the Excel worksheet. When I look at the Data tab for each unbound
object frame, the properties are all complete. I have a routine that does the
following:
1. Use TransferSpreadsheet seven times to export data into seven named ranges
where each range is the data source for one of the graphs
2. Open a pop-up form in acdialog mode for the user to add some text to the
title page of the main report
3. Open the main report with the seven subreports in preview mode

The graphs in the unbound object frames do not update for the data that was
exported in Step 1.

I tried the following in the On Open event of each subreport:
Ole1.Action = acOleUpdate
and I get an error message that OLE1 does not contain an OLE object.

Two questions:
1. How do I get the graphs in the unbound object frames to update?
2. Why aren't the graphs in the unbound object frames OLE objects when I
paste-linked them there from an Excel worksheet?

Thanks!

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Embed the same Excel multiple times 0
Linking data in MS Word into Excel 5
The operation on the OLE object failed 2
Opening an Ole Object from a form 0
Graphs in forms 0
OLE link 0
Excel Graphs 0
OLE object 1

Top