+ Reply to Thread
Results 1 to 5 of 5

Add a new folder with Save File Button command VBA

  1. #1
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Add a new folder with Save File Button command VBA

    Hi.

    Can anybody please help me to add a function to this code (Or change it all completely to suit) so that when the CommandButton is clicked to save a file, it will do the following:
    - Create a new folder, whose name will be determined by the value of cell 'I2', in the destination path folder "Quotes",
    - Save the .xlsm file in the new folder with a filename also as determined by the value of cell 'I2'

    Ideally, the code should check to see if that new folder name already exists and show a MsgBox as a warning. (In this case, if that folder name already exists, then the user is clicking the wrong button to save the existing file)

    My Code as it is:

    Please Login or Register  to view this content.
    I await any responses in anticipation.

    Thanks in advance
    =IF(Richard="Gets Help",Richard=,Richard=Keh?)

  2. #2
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: Add a new folder with Save File Button command VBA

    Any Takers on this at all, Guys?...... Please?......

  3. #3
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: Add a new folder with Save File Button command VBA

    Hi Guys.

    No takers on this as yet, So it has also been posted at:
    http://www.mrexcel.com/forum/excel-q...lications.html

    Any help much appreciated...

  4. #4
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: Add a new folder with Save File Button command VBA




  5. #5
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: Add a new folder with Save File Button command VBA

    Any Help on this, please?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Command Button to "Save As". Setting Cell value as file name
    By seanturner9005 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2013, 12:20 PM
  2. Export to pdf command button save as file name question
    By Miamited in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2012, 02:33 PM
  3. command button- open folder and copy data from .csv file
    By karo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2012, 08:17 AM
  4. Replies: 6
    Last Post: 08-11-2006, 03:41 PM
  5. [SOLVED] Save as new file command button
    By EnGo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2006, 10:00 AM

Tags for this Thread

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