Ghi
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử thay đổi thư mục.
Creates a folder.
Syntax
object.CreateFolder (foldername)
The CreateFolder method has these parts:
| Part | Description |
|---|---|
| object | Required. Always the name of a FileSystemObject. |
| foldername | Required. String expression that identifies the folder to create. |
Remarks
An error occurs if the specified folder already exists.
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.