Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 840652 - Last Review: October 9, 2011 - Revision: 3.0
"Error accessing file. Network connection may have been lost" error message when you run a VBA macro that copies a presentation to a new presentation in PowerPoint 2002
Important This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base:
256986Â
(http://kbalertz.com/Feedback.aspx?kbNumber=256986/
)
Description of the Microsoft Windows Registry
When you run a Microsoft Visual Basic for Applications (VBA) macro that copies a presentation to a new presentation in Microsoft PowerPoint 2002, you receive the following error message:
Error accessing file. Network connection may have been lost.
This problem occurs when all the following conditions are
true:
- The presentation that is being copied was created in an
earlier version of Microsoft PowerPoint.
- The presentation that was created in an earlier version of
PowerPoint contains an embedded Microsoft Excel worksheet that also has an
embedded ActiveX control.
- The VBA macro contains an Open event that searches for OLE objects.
How to obtain the hotfix
This issue is fixed in the PowerPoint 2002 Hotfix Package that is dated May 6, 2004. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
830007Â
(http://kbalertz.com/Feedback.aspx?kbNumber=830007/
)
PowerPoint 2002 post-Service Pack
3 hotfix package: May 6, 2004
After you install this hotfix, follow the steps that are listed in the "More Information" section of this article to set the QFE_12245 registry key and to activate the hotfix.
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
Warning If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system. Microsoft
cannot guarantee that you can solve problems that result from using Registry
Editor incorrectly. Use Registry Editor at your own
risk.
To activate this
hotfix, follow these steps:
- Quit PowerPoint 2002.
- Click Start, and then click
Run.
- In the Open box, type
regedit, and then click OK.
- Locate, and then click to select the following registry
key:
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\PowerPoint\Options
- After you select the key that is specified in step 4,
point to New on the Edit menu, and then click
DWORD Value.
- Type QFE_12245, and then press
ENTER.
- Right-click QFE_12245, and then click
Modify.
- In the Value data box, type
1, and then click OK.
- On the File menu, click
Exit to quit Registry Editor.
APPLIES TO
- Microsoft PowerPoint 2002 Standard Edition
| kbqfe kbhotfixserver kbofficexppostsp3fix kberrmsg kbfix kbbug KB840652 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate