- This week Monday, I get a Run-time error '53': File not found. What's interesting, is that when I click 'Debug' it highlights a line in my code, and when I mouse over the 'sFile' variable, it tells me the name of the file that it apparently can't find. But it could only know the name of it if it found it.
- If there is no company code displayed in the lower right-hand corner of the FRx Control Panel, please do the following:1. On the Company menu, click Select Default.2. Select FW from the listed companies in the Select Default Company dialog box.3. Click OK.This will set the FW company as default after which you can return to the Change SYSDATA.
- What it takes here for most cases is a reinstall of the existing software. Otherwise, seek external help to determine any possible hardware, software or operating system conflicts.
Microsoft Word Runtime Error 530
An error occurred trying to access the specified file. This error has the following causes and solutions:
A statement refers to a file with a file number or file name that is:
Not specified in the Open statement or was specified in an Open statement, but has since been closed. Specify the file name in an Open statement. Note that if you invoked the Close statement withoutarguments, you may have inadvertently closed all currently open files, invalidating all file numbers.
Out of the range of file numbers (1 - 511). If your code is generating file numbers algorithmically, make sure the numbers are valid.
There is an invalid name or number.
File names must conform to operating system conventions as well as Basic file-naming conventions.
In Microsoft Windows, use the following conventions for naming files and directories:
The name of a file or directory can have two parts: a name and an optional extension. The two parts are separated by a period, for example, myfile.new.
The name can contain up to 255 characters.
The name must start with either a letter or number. It can contain any uppercase or lowercase characters (file names aren't case-sensitive) except the following characters: quotation mark ('), apostrophe ('), slash (/), backslash (**), colon (:), and vertical bar (|**).
The name can contain spaces.
The following names are reserved and can't be used for files or directories: CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, and NUL. For example, if you try to name a file PRN in an Open statement, the default printer will simply become the destination for Print # and Write # statements directed to the file number specified in the Open statement.
On the Macintosh, a file name can include any character except the colon (:), and can contain spaces. Null characters (Chr(0)) aren't allowed in any file names.
In Microsoft Windows, use the following conventions for naming files and directories: The name of a file or directory can have two parts: a name and an optional extension. The two parts are separated by a period, for example, myfile.new. The name can contain up to 255 characters. The name must start with either a letter or number. Select Microsoft Word from the Word Processor drop-down list. Click Create or Open Merge Form File to open the template in Microsoft Word. Replace all the Corel WordPerfect merge fields with Microsoft Word merge fields. Save the template. Close Microsoft Word. Click OK to close the Merge Template Setup - Record Type window.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
Support and feedback
- This week Monday, I get a Run-time error '53': File not found. What's interesting, is that when I click 'Debug' it highlights a line in my code, and when I mouse over the 'sFile' variable, it tells me the name of the file that it apparently can't find. But it could only know the name of it if it found it.
- If there is no company code displayed in the lower right-hand corner of the FRx Control Panel, please do the following:1. On the Company menu, click Select Default.2. Select FW from the listed companies in the Select Default Company dialog box.3. Click OK.This will set the FW company as default after which you can return to the Change SYSDATA.
- What it takes here for most cases is a reinstall of the existing software. Otherwise, seek external help to determine any possible hardware, software or operating system conflicts.
Microsoft Word Runtime Error 530
An error occurred trying to access the specified file. This error has the following causes and solutions:
A statement refers to a file with a file number or file name that is:
Not specified in the Open statement or was specified in an Open statement, but has since been closed. Specify the file name in an Open statement. Note that if you invoked the Close statement withoutarguments, you may have inadvertently closed all currently open files, invalidating all file numbers.
Out of the range of file numbers (1 - 511). If your code is generating file numbers algorithmically, make sure the numbers are valid.
There is an invalid name or number.
File names must conform to operating system conventions as well as Basic file-naming conventions.
In Microsoft Windows, use the following conventions for naming files and directories:
The name of a file or directory can have two parts: a name and an optional extension. The two parts are separated by a period, for example, myfile.new.
The name can contain up to 255 characters.
The name must start with either a letter or number. It can contain any uppercase or lowercase characters (file names aren't case-sensitive) except the following characters: quotation mark ('), apostrophe ('), slash (/), backslash (**), colon (:), and vertical bar (|**).
The name can contain spaces.
The following names are reserved and can't be used for files or directories: CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, and NUL. For example, if you try to name a file PRN in an Open statement, the default printer will simply become the destination for Print # and Write # statements directed to the file number specified in the Open statement.
On the Macintosh, a file name can include any character except the colon (:), and can contain spaces. Null characters (Chr(0)) aren't allowed in any file names.
In Microsoft Windows, use the following conventions for naming files and directories: The name of a file or directory can have two parts: a name and an optional extension. The two parts are separated by a period, for example, myfile.new. The name can contain up to 255 characters. The name must start with either a letter or number. Select Microsoft Word from the Word Processor drop-down list. Click Create or Open Merge Form File to open the template in Microsoft Word. Replace all the Corel WordPerfect merge fields with Microsoft Word merge fields. Save the template. Close Microsoft Word. Click OK to close the Merge Template Setup - Record Type window.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
Support and feedback
Microsoft Word Runtime Error 53 File
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.