Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Combines a folder path and the name of a folder or file and returns the combination with valid path separators.
Syntax
object.BuildPath (path, name)
The BuildPath method syntax has these parts:
Part | Description |
---|---|
object | Required. Always the name of a FileSystemObject. |
path | Required. Existing path with which name is combined. Path can be absolute or relative and need not specify an existing folder. |
name | Required. Name of a folder or file being appended to the existing path. |
Remarks
The BuildPath method inserts an additional path separator between the existing path and the name, only if necessary.
See also
Support and feedback
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.