Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default How can I create five folders after this with a spacific name

MkDir "C:\" & Range("C3").Value

Example: C:\12345\ART, LG1, G-CODE, LG3, LR2
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,393
Default How can I create five folders after this with a spacific name

Sub tryme()
For Each mycell In Range("C3:C6")
MkDir "C:\" & mycell.Value
Next
End Sub

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"David Shoemaker" wrote in
message ...
MkDir "C:\" & Range("C3").Value

Example: C:\12345\ART, LG1, G-CODE, LG3, LR2



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
Create folders from excel Boss Excel Programming 2 March 7th 08 03:46 PM
Create Folders From Excel WBTKbeezy Excel Programming 4 November 28th 07 03:07 PM
Create list of folders kaiser Excel Programming 1 July 20th 07 07:50 PM
Auto Create Folders PaulW Excel Discussion (Misc queries) 2 July 3rd 06 03:01 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 07:09 PM.

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"