+ Reply to Thread
Results 1 to 4 of 4

saving file to a specific folder

  1. #1
    Registered User
    Join Date
    11-13-2007
    Posts
    4

    saving file to a specific folder

    Is there a way to default my file so that anyone who goes to save will have to save to a set folder?

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    If you add this to the thisworkbook module (Alt+F11 then double click thisworkbook) it will prevent saveas, your workbook will be saved as your workbook name along with the date and time to a specified folder, even clicking the X will cause it to save the same way.

    Please Login or Register  to view this content.
    replace USER for the name in your path and replace MY SAVE FOLDER for the folder name you wish it to go to!

    Hope this helps!
    Not all forums are the same - seek and you shall find

  3. #3
    Registered User
    Join Date
    11-13-2007
    Posts
    4

    macro

    Thank you very much, this does work, but is there another way to do this without using macros? I need to validate the workbook and macros make validation very messy. Do you know of a way to use a conditional IF statment ie (IF saved to incorrect file, workbook turns all text to white?) I'm just not sure of how to connect the formula to the saving process. Thanks again!

  4. #4
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Naomi, as far as i know what you ask cannot be done, the code i posted should not interfere with your validation.

+ 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