Skip to content

Commit

Permalink
Merge pull request #1485 from grahampcharles/patch-2
Browse files Browse the repository at this point in the history
fixed typo
  • Loading branch information
lindalu-MSFT authored Jan 19, 2022
2 parents 414ce1a + b49ae08 commit 26b99ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Language/Reference/User-Interface-Help/name-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This example uses the **Name** statement to rename a file. For purposes of this
```vb
Dim oldName, oldName
oldName = "OLDFILE": newName = "NEWFILE" ' Define file names.
Name oldName As oldName ' Rename file.
Name oldName As newName ' Rename file.

oldName = "C:\MYDIR\OLDFILE": newName = "C:\YOURDIR\NEWFILE"
Name oldName As newName ' Move and rename file.
Expand Down

0 comments on commit 26b99ed

Please sign in to comment.