+ Reply to Thread
Results 1 to 2 of 2

add a folder to c:\ drive from cell A1 contents...

  1. #1
    MattSonnier@gmail.com
    Guest

    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. #2
    Ron de Bruin
    Guest

    Re: 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



    <MattSonnier@gmail.com> wrote in message news:1153860322.137324.106980@m73g2000cwd.googlegroups.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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1