Results 1 to 4 of 4

Move files based on part of their name VBA

Threaded View

pernekde Move files based on part of... 12-22-2021, 03:56 AM
pernekde Re: Move files based on part... 12-24-2021, 04:41 AM
bsalv Re: Move files based on part... 12-24-2021, 05:00 AM
6StringJazzer Re: Move files based on part... 12-24-2021, 10:46 AM
  1. #1
    Registered User
    Join Date
    03-15-2019
    Location
    sloveni
    MS-Off Ver
    2016
    Posts
    27

    Move files based on part of their name VBA

    Is it possible to move a file (.xlsx) to another folder whit only part of that name?


    For example:

    file name to move (.xlsx)
    #Import#0181004401#0000015227_BEI_1300090026_20211206210105
    #Import#0181004482#0000015402_BEI_1300090389_20211208210239
    ...
    --------------

    The files where I want to move the files:
    353556_Lidl_0181004401
    374684_Lidl_0181004482

    ........

    #Import#0181004401#0000015227_BEI_1300090026_20211206210105.xlsx ---> 353556_Lidl_0181004401
    #Import#0181004482#0000015402_BEI_1300090389_20211208210239.xlsx ---> 374684_Lidl_0181004482



    tnx!
    Attached Files Attached Files
    Last edited by pernekde; 12-22-2021 at 04:02 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Batch File move files base on part of their name // VBA?
    By pernekde in forum Microsoft Windows Help
    Replies: 1
    Last Post: 12-26-2021, 01:13 AM
  2. Move files based on specified file name so a specified folder
    By quinnwits in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-03-2021, 02:24 PM
  3. Move data based on middle part string to different column
    By vendam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-02-2020, 04:33 AM
  4. VB Code to move files based on its name
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2020, 08:27 AM
  5. Move PDF files to a folder based on a criteria
    By lyfsbful in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2020, 05:59 PM
  6. [SOLVED] Move files based in excel data
    By WT2008 in forum Excel General
    Replies: 3
    Last Post: 12-10-2010, 10:44 AM
  7. Move Files Based On date in Name
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2009, 06:32 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