Microsoft Knowledge Base |
|
TEXTREF() Returns #REF! If Filename Has Special Characters |
|
|
Last reviewed: March 27, 1997
Article ID: Q135496 |
|
3.x 4.x 5.x 7.00 | 3.00 4.00 5.00 5.00a
WINDOWS | MACINTOSHkbusage The information in this article applies to:
SYMPTOMSWhen you use the following Microsoft Excel 4.0 macro command with a filename that contains a special character, the macro will return a #REF! error:
=TEXTREF(GET.DOCUMENT(1)&"!R1C1") WORKAROUNDTo work around this problem, do not use special characters in filenames.
MORE INFORMATIONThe following table lists the special characters that will cause this problem.
Character Name of character
------------------------------
` Accent grave
& Ampersand
* Asterisk
@ At symbol
\ Backslash
{} Braces
[] Brackets
^ Caret
$ Dollar sign
= Equal sign
! Exclamation point
/ Forward slash
> Greater than sign
- Hyphen
< Less than sign
() Parentheses
% Percent sign
| Pipe symbol
+ Plus sign
# Pound sign
~ Tilde
REFERENCESFor more information about TEXTREF, choose the Search button in Help and type:
TEXTREF |
|
KBCategory: kbusage
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |