Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default add a folder to c:\ drive from cell A1 contents...

Hi all:

How do I write a VBA code in excel to add a folder on the c:\ from the
contents in cell A1.

For example, if cell A1 has Look, how could I write code that makes a
folder on the c:\ drive that is c:\look.

Any help is greatly appreciated. Cheers.

~Matt

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default add a folder to c:\ drive from cell A1 contents...

See also the VBA help for MkDir

MkDir "C:\" & Sheets("Sheet1").Range("A1").Value



--
Regards Ron de Bruin
http://www.rondebruin.nl



wrote in message oups.com...
Hi all:

How do I write a VBA code in excel to add a folder on the c:\ from the
contents in cell A1.

For example, if cell A1 has Look, how could I write code that makes a
folder on the c:\ drive that is c:\look.

Any help is greatly appreciated. Cheers.

~Matt



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
Need to have cell C8 contain contents of Cell G(formula) Skip Excel Discussion (Misc queries) 1 April 25th 06 03:38 AM
Selectively Clearing cell contents jdd Excel Worksheet Functions 2 April 22nd 06 05:06 AM
Returning Cell Value if someone deletes the contents of a cell mmc308 Excel Worksheet Functions 4 March 31st 06 07:41 PM
Conversion of Cell Contents into a Functional Worksheet name ? GMJT Excel Worksheet Functions 1 August 21st 05 05:59 PM
Function syntax to compare cell contents ES Excel Worksheet Functions 2 May 18th 05 04:53 PM


All times are GMT +1. The time now is 09:06 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"