{"id":15130555,"url":"https://github.com/ignatiosdev/excel-multiple-file-opening-fix","last_synced_at":"2026-01-18T11:42:13.629Z","repository":{"id":257613904,"uuid":"858809501","full_name":"ignatiosdev/Excel-Multiple-File-Opening-Fix","owner":"ignatiosdev","description":"If you're experiencing delays when opening a second or subsequent Excel file while another is already open, this repository offers a straightforward solution.","archived":false,"fork":false,"pushed_at":"2024-10-14T18:24:19.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T17:56:38.391Z","etag":null,"topics":["excel","file","fix","ignatiosdev","microsoft","opening","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ignatiosdev.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T15:14:32.000Z","updated_at":"2024-12-09T13:36:22.000Z","dependencies_parsed_at":"2024-12-19T02:22:46.164Z","dependency_job_id":"e8bca524-8a26-427c-9fef-ebae41d927ad","html_url":"https://github.com/ignatiosdev/Excel-Multiple-File-Opening-Fix","commit_stats":null,"previous_names":["ignatiosdev/excel-multiple-file-opening-fix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatiosdev%2FExcel-Multiple-File-Opening-Fix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatiosdev%2FExcel-Multiple-File-Opening-Fix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatiosdev%2FExcel-Multiple-File-Opening-Fix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatiosdev%2FExcel-Multiple-File-Opening-Fix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignatiosdev","download_url":"https://codeload.github.com/ignatiosdev/Excel-Multiple-File-Opening-Fix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393540,"owners_count":20931809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["excel","file","fix","ignatiosdev","microsoft","opening","windows"],"created_at":"2024-09-26T03:02:22.333Z","updated_at":"2026-01-18T11:42:13.595Z","avatar_url":"https://github.com/ignatiosdev.png","language":"PowerShell","readme":"## Instructions\n\n### Download and Run the Script\n\nTo download and execute the script with one command, follow these steps:\n\n1. **Open PowerShell as Administrator:**\n   - Right-click on the Start menu and select “Windows PowerShell (Admin)” or “Windows Terminal (Admin)”.\n\n2. **Execute the Following Command:**\n   ```powershell\n   Invoke-WebRequest -Uri \"https://raw.githubusercontent.com/ignatiosdev/Excel-Multiple-File-Opening-Fix/main/script.ps1\" -OutFile \"script.ps1\"; .\\script.ps1\n\n### **How It Works**\n\nThis PowerShell script fixes the delay experienced when opening multiple Excel files from Windows File Explorer while another Excel instance is already running.\n\n#### **How It Works:**\n1. **Registry Paths**: The script updates specific registry keys related to Excel's Dynamic Data Exchange (DDE) settings:\n   - `HKEY_CLASSES_ROOT\\Excel.Sheet.12\\shell\\Open\\ddeexec` (for Excel 2013 and newer)\n   - `HKEY_CLASSES_ROOT\\Excel.Sheet.8\\shell\\Open\\ddeexec` (for Excel 97-2003)\n2. **Registry Updates**: It sets the `Default` value of these keys to `[open(\"%1\" /ou \"%u\")]`, optimizing the way Excel handles file openings via DDE, leading to faster performance when opening multiple files.\n3. **Path Creation**: If the specified registry paths do not exist, the script creates them to ensure that the necessary registry structure is in place.\n\n#### **Why the Bug Happens:**\nThe issue arises due to outdated or incorrect DDE settings in the Windows Registry. DDE is a protocol used for inter-process communication and can sometimes become misconfigured, causing delays in opening files when multiple Excel instances are involved.\n\n#### **Acknowledgment:**\nA special shoutout to [adamAmiga0](https://answers.microsoft.com/en-us/msoffice/forum/all/excel-opens-2nd-subsequent-file-from-explorer/907165a8-44a4-4212-a871-6525b7553eaa) for discovering and sharing this solution. Their insights on Microsoft Answers were instrumental in identifying the root cause and providing a fix for this common issue.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatiosdev%2Fexcel-multiple-file-opening-fix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignatiosdev%2Fexcel-multiple-file-opening-fix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatiosdev%2Fexcel-multiple-file-opening-fix/lists"}