Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Excel 2007 can't open files with spaces in names

Posted on 2010-09-08
3
Medium Priority
?
480 Views
Last Modified: 2012-05-10
This is a problem that suddenly started happening today.  I was mucking around with Excel trying to get it to open each new file in a new window (problem solved thanks to EE) and I must have clicked somethign I shouldn't have.

Excel is suddenly unable to open files with spaces in the name.  For example, if my file name is "My hours.xlsx" and I double click on it, Excel tells me "My.xlsx" could not be found, and then it tells me "hours.xlsx" could not be found.

As far as I can tell, it's only Excel that is having this problem so I don't think it was caused by changes to Windows, but I could be wrong...
0
Comment
Question by:FrancineTaylor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 2000 total points
ID: 33632541
see if the solution here works for you http://www.eggheadcafe.com/software/aspnet/30992720/filename-spaces.aspx


Close Excel and

Windows Start Button|Run

excel /unregserver

then

Windows Start Button|Run

excel /regserver



The /unregserver & /regserver stuff resets the windows registry to excel's

factory defaults.
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 33632545
if you are trying to open files within code then ensure you wrap the filename in double quotes
0
 
LVL 1

Author Closing Comment

by:FrancineTaylor
ID: 33632712
Thanks, rockiroads, that worked!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question