Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 879 Bytes

addfolders-method.md

File metadata and controls

37 lines (25 loc) · 879 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Add method (Visual Basic for Applications - VBA)
vblr6.chm2182086
vblr6.chm2182086
Office.AddFolders
4750c3af-6eb4-d100-fbba-29945108a018
06/01/2022
medium

Add a folder using method

Adds a new Folder to a Folders collection.

Syntax

object.Add folderName

The Add method has the following parts:

Part Description
object Required. Always the name of a Folders collection.
folderName Required. The name of the new Folder being added.

Remarks

An error occurs if the folderName already exists.

See also

[!includeSupport and feedback]