+ Reply to Thread
Results 1 to 2 of 2

How can i copy a file between folders

  1. #1
    Registered User
    Join Date
    12-16-2017
    Location
    Portugal (Palmela)
    MS-Off Ver
    Office 365 Family - 2005 (12827.20336)
    Posts
    5

    How can i copy a file between folders

    I need to copy files from one directory to another, for example, from A to B.
    I'm using the VBA line:

    FileCopy "C:\A\Receipt 8 of 2020 closing for employee 314.pdf", "C:\B\"

    but I get the message of PATH NOT FOUND

    Thnks for the help
    Jo?o Franco
    Office 365 Family
    (Portugal)

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: How can i copy a file between folders

    .
    Does this work ?

    Please Login or Register  to view this content.

+ 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. Copy file form folder & sub folders in VBA
    By mehidy1437 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2019, 10:26 AM
  2. [SOLVED] VBA to create folders and copy files based on file names
    By R12345 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-28-2017, 10:45 PM
  3. Macro to Copy .txt or .dat file into another folders
    By ketankapur in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2014, 12:14 AM
  4. Copy Files from one folder to different folders based on pdf file name
    By jtammyg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-23-2014, 11:49 AM
  5. Copy Files to Folders Based on Specified File Names and Directories.
    By mamero in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2013, 12:08 PM
  6. Replies: 1
    Last Post: 09-12-2013, 09:23 PM
  7. VBA code to open folders and pdf file inside the folders
    By kirtesh250187 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2013, 03:17 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