ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Create folders in Window Explorer from tab or csv files export (https://www.excelbanter.com/excel-worksheet-functions/79916-create-folders-window-explorer-tab-csv-files-export.html)

kricketts

Create folders in Window Explorer from tab or csv files export
 
I am a yearbook advisor and would like to be able to create individual
folders for students (seniors), for whom we must scan pictures, without
creating them one at a time. Is there a way to export a list of names into
Windows Explorer to create a folder for each student?

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions

Duke Carey

Create folders in Window Explorer from tab or csv files export
 
Here's a quick macro - no error checking - that creates a subdir for each
student in the selected range of an Excel sheet

Sub md()
Const strPath = "C:\Students\"
Dim cc As Range

For Each cc In Selection
MkDir strPath & cc.Text
Next

End Sub

For information on installing the code see
Getting Started with Macros and User Defined Functions

http://www.mvps.org/dmcritchie/excel/getstarted.htm



"kricketts" wrote:

I am a yearbook advisor and would like to be able to create individual
folders for students (seniors), for whom we must scan pictures, without
creating them one at a time. Is there a way to export a list of names into
Windows Explorer to create a folder for each student?

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions



All times are GMT +1. The time now is 06:56 PM.

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