Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.12 KB

buildpath-method.md

File metadata and controls

38 lines (26 loc) · 1.12 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
BuildPath method (Visual Basic for Applications)
vblr6.chm2182031
vblr6.chm2182031
Office.BuildPath
55f3dbad-0e0a-1968-a749-fe87986e9690
12/14/2018
medium

BuildPath method

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

[!includeSupport and feedback]