Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am new to this VBA thing so any help would be welcome.
I need to create a file folder for all of the companies listed in column F of my worksheet. I have a button on the worksheet with the following line of code attached but can not see how to move down to the next row. Also is there a way to check if the folder exists, if it does to ignore it and move to the next row. Thanks Andy Private Sub CommandButton1_Click() Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.createfolder("E:/Customers and Contacts/") a.Close End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
create a file list from a folder? | Excel Discussion (Misc queries) | |||
how do you create file folder labels in excel? | New Users to Excel | |||
can I create backup file in separate folder from the original? | Setting up and Configuration of Excel | |||
How do I Create backup of excel file in other folder | Excel Discussion (Misc queries) | |||
Create Folder and Text File in folder | Excel Programming |