|
Home > Skills > FAQs > Files FAQ Excel Application and File FAQsAnswers to frequently asked questions about the Excel application and Excel files. For example, "Why does Excel say that my file has links?" and "Why do the column headers show numbers, instead of letters?" |

For Macintosh computers, see -- Excel for Mac Resources
Q: When I start Excel, why do files open up automatically?
A: To stop files automatically opening, you can remove a folder name in the Excel options:

If there was nothing listed in the Startup box, the unwanted files might have been accidentally saved to one of the XLSTART folders. The location of this folder depends on which Office version is installed. For example, it might be in this path:
C:\Users\YOUR NAME\AppData\Roaming\Microsoft\Excel\XLSTART
To find the folder on your computer, open Windows Explorer, and go to the C drive. In the Search box, tpe "XLSTART", and press Enter.
After you locate the files, in Windows Explorer, go to those folders, and move or delete the unwanted files, to prevent them from opening automatically when Excel starts. ▲
Q: When I start Excel, why is there an error message "Compile error in Hidden Module"
A: An add-in with a programming error is causing problems.
Got the error? Uncheck the one you last checked. If no luck, see if there's an .xla file in the startup directory (see previous tip). Scanner software typically place itself there, sometimes with code errors like the one in question.
Not an add-in? It will be a hidden workbook then.
Clear out c:\windows\temp directory on the machine that houses the files, then reboot ▲.
If I close one of the copies, both close. Any changes made to one copy show up in the other. How can I fix this problem
This sounds like you just have two windows open that are displaying the same workbook.

Q: When I click on an Excel file to open it, the file opens, but an error message is displayed that says" a file with that name is already open, and that I can not open two files open with the same name." What can I do?
A) If you are sure it's not really happening (you may have Book1 open and then attempt to open a Book1 from another folder), then try re-registering Excel.

Q: Why does Excel say my file has links, when I know it doesn't?
A:In addition to hyperlinks on a worksheet, an Excel workbook could contain links in:
I use Bill Manville's free FINDLINK program to find those hidden links in my Excel files.
Q: When I try to open Excel, it freezes and
all I can do is reboot, OR...
-- Excel crashes on me regularly,
what can I do
-- EXCEL caused an invalid
page fault...
-- Illegal Operation Error
when starting Excel ![]()
A) To-Do List:
Try opening Excel without any addins or hidden workbooks:
If your error disappears, there is either an add-in or a (hidden) workbook that is loaded upon XL's start, which is causing problems.
Another option is to open XL in Safe mode:
"C:\Program Files\Microsoft Office\Office\Excel.exe" /Safe
Also, you might try:
"C:\Program Files\Microsoft Office\Office\Excel.exe" /Regserver
Another possible problem is a corruption of your toolbar customisation file:
Finally, this is what MS has to say:
XL:
How to Troubleshoot Startup Problems in Microsoft Excel. ▲
Q) Excel crashes on opening / closing / prompts "not enough resources"
A) This could really be anything. Considering that, it's remarkably
often a corrupt toolbar file. So worth a try the following:
1. Close Excel (if it managed to open).
2. Reboot if necessary.
3. Locate all files (with Start > Search etc) with extension .xlb
4. Rename the extension(s) to something like .old
5. Start XL again.. ▲
Q) There's no "Close All" button, so how can I close all the open files in Excel 2013 and later versions?
A) In Excel 2013 and later versions, each file opens in a separate window. Unlike earlier single-window versions, there is no Exit button or command, to close all the files, without clicking each window individually.
Here are 4 different ways to close all open windows in Excel 2013 and later versions. Thanks to Alex Blakenburg for suggesting the shortcut options.
Option 1. Add the missing "Close All" and "Exit" commands to the Quick Access Toolbar.

Option 2. Press the Shift key, and click the X at the top right of one of the Excel windows. You will be prompted to save any unsaved files, and then all the windows will close.

Option 3. Press the Alt key, and tap the F key, then tap the X key. When you press Alt+F, the File tab is activated. Even though the X shortcut doesn't appear in the list, the Exit command runs when you tap X.

Option 4. Right-click the Excel icon in the Windows Taskbar, at the bottom of your screen. Then click the Close All Windows command.


@contextures Don’t close Excel files one at a time! Use Windows taskbar command #excel #exceltips #microsoftexcel #learnexcel #Contextures ♬ This Is How We Do It - Montell Jordan
If multiple workbooks are open, any of these shortcuts will close the active Excel workbook only
If a single Excel workbook is open:
Q: Why do column headers show numbers instead of letters?
A: To see why this happens, and how to switch the column headings back to letters, watch this short video tutorial. There are written steps on the Change Column Headings to Letters page.
Q: How can I change the font in column and row headers?
When you create a new file in Excel, the row and column headers are displayed in the Normal font for your workbook settings. The Normal font is also used in the worksheet cells, unless you select a different format in the cells.

You could even change the row and column headers to pictures, by changing the Normal font to a graphic font, such as Wingdings. Then, instead of referring to cell J1, you can put good news in the "Happy Face Folder" cell. Remember to format the cells in a non-graphic font, after you change the Normal style.




In Excel 2002, and later versions, you can colour the sheet tabs. Right-click on a sheet tab, and choose Tab Color...

Note: When the sheet is selected, the colour will show in a thin strip at the bottom of the sheet tab. The full tab is coloured for non-selected sheets. . ▲
![]()
Q: How do I lock in my Title Row and keep it visible while I scroll down to see the rest of my data?
You can use the Freeze Panes command to lock rows above the selected row, and columns to the left of the selected column.
This video shows the steps, and there are written steps on the Freeze and Zoom in Excel page.
Q: Why did my Freeze Pane settings and gridline settings disappear?
A: When you lock the title row(s) in place, as described above, those settings should stay in place, if you've saved the file. However, sometimes the freeze pane setting, or the gridline setting, disappears, even though you haven't changed the settings.
This can happen if you:
To avoid this problem, go to the Freeze and Zoom page, and watch the short video in the Freeze Pane Settings Disapper section
Q: Why do the scrollbars go way down to row 500, when my data ends in cell E50?
Excel may be remembering some data that was in row 500, but has been deleted. To go to the cell which is currently the "Last Cell" in the worksheet, hold the Ctrl key, and press the End key. If the Last Cell (cell J500 in this example) is outside the range of cells that is actually being used, you can reset the used range, so the scroll bar works correctly.
Note: If any cells contain references to the deleted cells, those references will be replaced with a #REF! error. If you have cells that are formatted, but outside the range that contains data, the formatting will be lost.

Note: This code may not work correctly if the worksheet contains
merged cells. To check your worksheet, you can run the TestForMergedCells
code.
Sub DeleteUnused()
Dim myLastRow As Long
Dim myLastCol As Long
Dim wks As Worksheet
Dim dummyRng As Range
For Each wks In ActiveWorkbook.Worksheets
With wks
myLastRow = 0
myLastCol = 0
Set dummyRng = .UsedRange
On Error Resume Next
myLastRow = _
.Cells.Find("*", after:=.Cells(1), _
LookIn:=xlFormulas, lookat:=xlWhole, _
searchdirection:=xlPrevious, _
searchorder:=xlByRows).Row
myLastCol = _
.Cells.Find("*", after:=.Cells(1), _
LookIn:=xlFormulas, lookat:=xlWhole, _
searchdirection:=xlPrevious, _
searchorder:=xlByColumns).Column
On Error GoTo 0
If myLastRow * myLastCol = 0 Then
.Columns.Delete
Else
.Range(.Cells(myLastRow + 1, 1), _
.Cells(.Rows.Count, 1)).EntireRow.Delete
.Range(.Cells(1, myLastCol + 1), _
.Cells(1, .Columns.Count)).EntireColumn.Delete
End If
End With
Next wks
End Sub
'================================
Sub TestForMergedCells()
Dim AnyMerged As Variant
AnyMerged = ActiveSheet.UsedRange.MergeCells
If AnyMerged = False Then
MsgBox "no merged"
ElseIf AnyMerged = True Then
MsgBox "all merged"
ElseIf IsNull(AnyMerged) Then
MsgBox "mixture"
Else
MsgBox "never gets here--only 3 options"
End If
End Sub
'=====================================
Q: When I apply Fill colour to a cell, I can't see it on the worksheet. However, the colour shows up in Print Preview, or when I print the worksheet. What's wrong?
A: If the high contrast setting is turned on you won't see the fill colour.

|
Note: The keyboard shortcut to toggle high contrast on or off is:
|
Q: When I hide rows, the data disappears from my chart
By default, charts do not display the data in hidden rows and columns, but you can change a setting to make the data appear in the chart.
This video shows how to change an Excel chart's settings, so all the data will appear in the chart, even if some of the data rows or data columns are hidden.
There are written steps on the Show Hidden Data in Excel Chart page.
Q: How can I change the gridline color on a worksheet?
Instead of leaving the gridlines in their default color, you can follow these steps to change the color:

Q: How can I hide the Excel Ribbon, to make more room on the worksheet?
You can temporarily hide the Ribbon, leaving only the tabs visible.
You can see the steps in this short video.
Q: How do I remove the big "Page 1" watermark on my worksheet?
When the worksheet is in Page Break Preview mode, the page number is shown in the centre of the sheet.

You can't remove the number in that view, but you can change to a different view, such as Normal view.
Learn more about Page Break Preview, and how it can help you save time and printing paper!

There is not a set limit in the Excel specifications, but there is a practical one which depends on the computer resources.
In Excel 97 and above, you can have up to 32K characters in a worksheet cell, but only the first 1000 or so are displayed (the exact number depends on your font and display characteristics). However, you can increase the number of characters displayed if you add line breaks in the cell (press Alt+Enter).
Q: How can I protect formulas from being deleted or changed?

Well, there are passwords and there are passwords.
File and VBA passwords cannot be cracked by a "normal macro"
Workbook and worksheet passwords are fairly easy. A search for "excel password" at https://www.google.com/ will find both commercial and free solutions of varying quality and brutality.
Q: How can I protect an Excel file (and associated code) from unauthorized copying and/or create time limited functionality?
There is no foolproof method for this, and most solutions limit themselves to require macros enabled on opening. This said, creating your own system is a fun challenge allowing lots of "evil creativity".
Q: Is there a way to allow the use of AutoFilter on a protected worksheet?
When you protect the sheet, add a check mark to the option for "Use AutoFilter".
Q: Can I prevent people from opening a file without a password?
Yes, you can change a setting, when saving the file, so it requires a password to open:

NOTE: Microsoft can't help you recover lost or forgotten passwords, so keep a list of your passwords in a safe place, or you could be locked out of a protected file.
Q: When I type a number, it is automatically divided by 100. For example 44 becomes 0.44 even if I format the cell without decimals.
To turn off this setting:
NOTE: In Excel 2003, go to Tools>Options/Edit and uncheck the Fixed decimals checkbox.

Q: How can I prevent hyperlinks from appearing when I type an email address?
you can use the Convert with Paste Special technique. Watch a short video that shows the Change Excel Hyperlinks to Text steps.
The code below, when run on a selection, will also delete the hyperlinks.
Sub delHyperlinks()
Dim myCell As Range
For Each myCell In Selection
myCell.Hyperlinks.Delete
Next myCell End Sub
Q: When I import information from my merchant account the field which holds the 16 digit credit card information does not display it properly.
A: Excel only maintains 15 significant digits for numbers and cannot be used for credit cards which require 16 digits. If you don't need to do math on them, input long numbers into a range that you've formatted as text (Format>Cells, Number tab).
To prevent both of the above issues (hyperlinks and 16-digit numbers) -- as well as entries that are automatically converted to dates (e.g. 3/4) -- type a single quote ( ' ) before the entry. Excel will treat the cell as pure text and change nothing.
Q: I accidentally typed something and now Excel is talking to me. How do I turn that voice off?
You might have used a keyboard combination that turned on the Windows Narrator in some versions of Windows. To turn this feature off, press the Narrator keyboard shortcut:

Original FAQs compiled by Harald Staff, Excel MVP 2000-2005. Revisions and additions by Debra Dalgleish.
Don't miss my monthly Excel newsletter! You'll get quick tips, article links, and a bit of fun. Add your email, and click Sign Up.
Next, when you get my reply, click the Confirm button. I add this step to protect you from spam!
Last updated: February 23, 2026 3:54 PM