+ Reply to Thread
Results 1 to 4 of 4

save files in specific folder after being uploaded to intranet

  1. #1
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    save files in specific folder after being uploaded to intranet

    Hi all,

    As part of a macro that I'm currently making, there is a step that needs to be taken too.
    I have now almost completed a macro that will upload files into an intranet site.
    First I run a macro to get all the files from a folder into the excel sheet in column G. the file name and file path is in there. When the macro start uploading the files, it loops one by one. when the loop loads one up, it should use the full path of the file to select the file and cut it from the folder it is in and move it to a folder called dump in the root of C drive.

    Thank you in advance and greetings.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: save files in specific folder after being uploaded to intranet

    Ron De Bruin has some useful code examples here for file functions:

    http://www.rondebruin.nl/win/s3/win026.htm

  3. #3
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: save files in specific folder after being uploaded to intranet

    Hi,

    I checked the site and found one to use (well, almost). The thing is that it moves the whole folder. What I need is that it loops trough a column and find the listed file name and use that file name to move the file to a different folder.
    The file name I have in column A. I will have other files in that folder too, but only the ones that I have listed in the excel sheet column A should be moved.

    What code part to I need to change to make it work?

    Please Login or Register  to view this content.
    Greetings.

  4. #4
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: save files in specific folder after being uploaded to intranet

    Hi,

    I managed to find a solution :-)
    I had to make a few changes, and it works for my need.

    Please Login or Register  to view this content.
    I hope some one can make good use of it too ;-)

    Greetings.
    Last edited by Megatronixs; 11-15-2014 at 01:15 PM.

+ 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. Replies: 1
    Last Post: 01-28-2019, 06:55 PM
  2. Automatically make new excel-files (and save in specific folder on my computer)
    By Josvanderwaaij in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 08-21-2014, 06:32 AM
  3. Macro to create a folder and then save all files in that folder
    By gokzee in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-27-2013, 01:49 PM
  4. Save a file to an intranet accessed folder
    By BillMax in forum Excel General
    Replies: 0
    Last Post: 05-11-2011, 03:41 PM
  5. Replies: 1
    Last Post: 01-24-2006, 11:35 AM

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