Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"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 2000


View products that this article applies to.

Symptoms

When you run a Microsoft Visual Basic for Applications (VBA) macro that copies a presentation to a new presentation in Microsoft PowerPoint 2000, you receive the following error message:
Error accessing file. Network connection may have been lost

↑ Back to the top


Cause

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.

↑ Back to the top


Resolution

How to obtain the hotfix

This issue is fixed in the PowerPoint 2000 post-Service Pack 3 Hotfix Package that is dated June 4, 2004. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
842785 Description of the PowerPoint 2000 post-Service Pack 3 hotfix package: June 4, 2004

After you install this hotfix, follow the steps that are listed in the "More Information" section of this article to set the Hotfix12395 registry key and to activate the hotfix.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

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 Description of the Microsoft Windows Registry

To activate this hotfix, follow these steps:
  1. Quit PowerPoint 2000.
  2. Click Start, and then click Run.
  3. In the Open box, type regedit, and then click OK.
  4. Locate, and then click to select the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\PowerPoint\Options
  5. After you select the key that is specified in step 4, point to New on the Edit menu, and then click DWORD Value.
  6. Type Hotfix12395, and then press ENTER.
  7. Right-click Hotfix12395, and then click Modify.
  8. In the Value data box, type 1, and then click OK.
  9. On the File menu, click Exit to quit Registry Editor.

↑ Back to the top


Keywords: kbqfe, kberrmsg, kbscript, kbautomation, kbprogramming, kboffice2000presp4fix, kbfix, kbbug, kbhotfixserver, KB842314

↑ Back to the top

Article Info
Article ID : 842314
Revision : 6
Created on : 4/7/2006
Published on : 4/7/2006
Exists online : False
Views : 341