+ Reply to Thread
Results 1 to 3 of 3

Copy files to directory, mark read only -r

  1. #1
    Registered User
    Join Date
    07-23-2009
    Location
    Michigan
    MS-Off Ver
    Excel 2003
    Posts
    3

    Copy files to directory, mark read only -r

    Hi everyone!

    I'm a newbie when it comes to vba and macros.
    I can usually modify code here and there to get what I want, but this time I'm completely stumped.

    Hopefully there is a simple solution. What I'm trying to accomplish seems pretty simple =-)

    Here is what I'm trying to do.
    I have a spreadsheet that contains a running list of multiple "Read Only" files, descriptions, locations, etc... Column M contains the file path name. Column F contains the file descriptive name.

    I want to highlight single (or multiple) items in column F > select a macro to prompt a "save to" location > Pick a save path > have files copied to that location with out read-only attributes. Files types will be both word and excel.

    Currently, we have a similar setup (Case E) to copy excel files to a specified directory and open the file. Through testing, the read-only attribute of this setup defaults to -r (Perfect).

    1. I would like to modify this code to copy the files and set read-only to -r without opening the file.

    2. I would like to duplicate the code to copy word files and set read-only to -r without opening the file.

    We are using "Cases" (Column N) to depict instruction for the macro button to follow.

  2. #2
    Registered User
    Join Date
    07-23-2009
    Location
    Michigan
    MS-Off Ver
    Excel 2003
    Posts
    3

    re: Copy files to directory, mark read only -r

    comment removed
    Last edited by Mitch_McComb; 07-23-2009 at 02:41 PM.

  3. #3
    Registered User
    Join Date
    07-23-2009
    Location
    Michigan
    MS-Off Ver
    Excel 2003
    Posts
    3

    re: Copy files to directory, mark read only -r

    Thank you (.txt file attached)
    Attached Files Attached Files

+ 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