View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default File System Object

You can also just do


Mkdir foldername

where folder name would contain something like

"C:\My Documents\MyNewFolderName"

--
Regards,
Tom Ogilvy


"Neil" wrote in message
...
Hi all, sorry that this is a lame question, but im a
newbie !!

I want to create a dir on my HDD with the name taken from
a cell in the spreadsheet, there is a createfolder method
as below

Syntax
object.CreateFolder(foldername)

The CreateFolder method has these parts:
Description object Required. Always the name of a
FileSystemObject.
foldername Required. String expression that identifies
the folder to create.

What is the filesystemobject name that I am supposed to
use ?

Many thanks