PC Review


Reply
Thread Tools Rate Thread

Automating Office 2003 with office 2010

 
 
New Member
Join Date: Dec 2010
Posts: 2
 
      5th Dec 2010
I am trying to embed Excel .xls file objects that contain VBA code in pages of a .ppt file. Using the menus insert -> object -> from file.
This works fine if I use Powerpoint 2003, but when I try to use Powerpoint 2010 I can get the object inserted but when I try to edit it, I get the following errors:

First in Excel:
Error accessing file. Network connection may have been lost.

Then in PowerPoint:
Microsoft PowerPoint can't start the application required to open this object.
An error occurred and this featue is no longer functioning properly. Would you like to repair this feature now?
I click "no" as I know the function is fine.

then another PowerPoint error:
There isn't enough memory available to read Worksheet.

The files are stored on same disk drive.

My troubleshooting so far:
1. I have set all macro security for both Excel and Powerpoint 2003 and 2010 to none.
2. I have checked any boxes that state trust VBA objects.
3. If I insert the .xls object using PowerPoint 2003 on another system and then re-open the ppt file using 2010, I can then edit the .xls object.
4. If I convert the .xls file to .xlsm, then insert, it will work fine.
5. PowerPoint 2010 can insert and edit .xls objects that do not contain VBA code.
6. I set the references in the Powerpoint VB editor to include Excel object library, no change.
7. I have installed 2003 on the same system as 2010 (Win 7), and it will not work then, even in the 2003 applications.
8. I have installed 2010 on the Win XP system and it did not work there either.
9. I tried dragging and dropping the xls file onto the ppt page, that results in 7 of the 'Error accessing file. . ' messages before it inserts the object.
10. If I insert the object in 2010, then try to edit the object on the 2003 system, I get the same edit errors.
11. I can create a new Excel 97-2003 worksheet object, then add a macro to it after it is inserted and it will edit fine. It only errors when inserting from file.
12. I am able to successfully insert and edit the excel file into a Word 2010 document.

To reproduce the problem, open/create a powerpoint file (can be ppt or pptx) with PowerPoint 2010. Then insert any xls 2003 file that contains some VBA code (I used a macro that typed 'hello world' into a cell). Insert the file as an Excel 97-2003 worksheet object. After the object is inserted, select to edit the worksheet object. That is when the errors will occur.

Windows 7 system details: OS - Windows 7 64-bit
Office ver - 2010 Professional Plus 32-bit
Intel core2duo cpu
4GB ram

Windows XP system details: OS - Windows XP Pro SP3
Office ver - 3002 Standard Edition SP3
Virtual machine on Oracle VM VirtualBox

Any help is greatly appreciated.

Erick
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I update calenders on Office 2003 to 2010 in Excel z1uncle Microsoft Excel Misc 1 28th May 2010 01:06 AM
Office 2007 and Office 2010 beta rraw75 Microsoft Outlook Discussion 1 16th Feb 2010 05:09 PM
Converter for Office 2008 documents to Office 2007 or Office 2003 Kyle H Microsoft Access 1 11th Jun 2009 08:59 PM
Problem sharing spreadsheet between Office10 (Office XP) and Office 11 (Office 2003) Sage Solutions Group Microsoft Excel Programming 0 20th Aug 2004 08:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:39 PM.