Open an Excel sheet through DDE

G

Guest

I am trying to do a work around for a problem in Access 2003.

Access Unbound OLE frames can be linked to an Excel sheet.

The properties that direct the frame to a specific sheet is through the
following properties of the frame.


Source Doc : C:\sajit\test1.xls
Source Item : test2

where, test2 is the sheet name in the Excel file.

However I notice that it does not work. What Access does is, it selects the
Excel sheet that was last selected and saved.

I want to write a piece of code using perhaps DDE to open the Excel file and
select the specific sheet that I want the OLE to link to, save and close.

Can anyone please show me how to get to that.

Thanks,
 
A

Arvin Meyer [MVP]

You can link and Excel sheet to Access as a table, then use a datasheet form
or subform to view/update it. It is unnecessary to add the complexity of
using the OLE frame.
 
G

Guest

I want to modify the row height in the Excel file from Access, based on the
length of the text in the Access recordset. Not the data on the Excel file.

--
Sajit
Abu Dhabi


Arvin Meyer said:
You can link and Excel sheet to Access as a table, then use a datasheet form
or subform to view/update it. It is unnecessary to add the complexity of
using the OLE frame.
 

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

Top