ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   createfolder (https://www.excelbanter.com/excel-programming/302130-createfolder.html)

jon

createfolder
 
hi, i'm trying to create a new folder in c:/windows using
vba but my help file won't work for some reason. I
assume i should use the createfolder function, but i've
no way of knowing the syntax to use. any help v much
appreciated
thanks

Chip Pearson

createfolder
 
Jon,

Use the MkDir statement. E.g.,

MkDir "C:\Test2"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"jon" wrote in message
...
hi, i'm trying to create a new folder in c:/windows using
vba but my help file won't work for some reason. I
assume i should use the createfolder function, but i've
no way of knowing the syntax to use. any help v much
appreciated
thanks




Tom Ogilvy

createfolder
 
mkdir "C:\Windows\MyFolder"

--
Regards,
Tom Ogilvy


"jon" wrote in message
...
hi, i'm trying to create a new folder in c:/windows using
vba but my help file won't work for some reason. I
assume i should use the createfolder function, but i've
no way of knowing the syntax to use. any help v much
appreciated
thanks




Papou

createfolder
 
Hello jon
MkDir "C:\Windows\MyFolder"
HTH
Cordially
Pascal

"jon" a écrit dans le message de
...
hi, i'm trying to create a new folder in c:/windows using
vba but my help file won't work for some reason. I
assume i should use the createfolder function, but i've
no way of knowing the syntax to use. any help v much
appreciated
thanks





All times are GMT +1. The time now is 01:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com