Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 896
Default Create Multipe folders and naming them by Cells in Columns usingvba

don't know
look into yr Last Names, probably some of the names contain characters
that cannot be used in folder names

On 11 Gru, 20:42, sseyerle wrote:
Thank you for the reply
I am getting a runtime error and only some of the folders are being
created?
any ideas

Sub cus()

For Each cell In Selection
* * * *MkDir ("C:\Documents and Settings\Ryan\Desktop\Test\" &
cell.Value)
Next cell

End Sub

On Dec 11, 2:30*pm, Jarek Kujawa wrote:



select yr names in col A


and use the following macro:


Sub cus()


For Each cell In Selection
* * * *MkDir ("C:\Documents and Settings\Desktop\Test\" & cell.Value)
Next cell


End Sub


adjust the path ("C:\Documents and Settings\Desktop\Test\")
accordingly


On 11 Gru, 20:17, sseyerle wrote:


Hello,
I have a worsheet where the Last Names will make up a large folder
directory where we will store scanned documents by last name.


I have an excel workbook named "Student Name"
How do I take the 1100 or so names in column A and create empty
folders named by the cells in Column A in a folder named "Test" on the
desktop?


Thank you- Hide quoted text -


- Show quoted text -- Ukryj cytowany tekst -


- Pokaż cytowany tekst -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table with multipe columns Blair Macdonald Excel Discussion (Misc queries) 0 December 8th 09 08:59 PM
How can I create five folders after this with a spacific name David Shoemaker Excel Programming 1 November 12th 08 03:09 PM
Create list of folders kaiser Excel Programming 1 July 20th 07 07:50 PM
lookup from multipe cells cmccurdy23 Excel Discussion (Misc queries) 1 February 1st 07 09:06 PM
To create folders using VBA Sri Excel Discussion (Misc queries) 1 February 4th 05 01:13 PM


All times are GMT +1. The time now is 08:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"