Solved

Excel 2007 can't open files with spaces in names

Posted on 2010-09-08
3
473 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
  • 2
3 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

830 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