+ Reply to Thread
Results 1 to 3 of 3

move one particular file up to the parent folder

  1. #1
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    2010; 2016
    Posts
    390

    move one particular file up to the parent folder

    All,

    Need your help as struggling with what I thought would be a really simple task!!!

    In a folder (lets say C:\Users\kevin\Documents\Attachments) there is a subfolder who's name could be absolutely anything.

    This folder contains multiple files.

    All i need is for the file called test.txt which is in the subfolder to be moved up to the parent folder. e.g move test.txt from C:\Users\kevin\Documents\Attachments\ cheeseburger, so that test.txt is now in C:\Users\kevin\Documents\Attachments irrespective of what the subfolder is called.

    Hope you can help

    Skyping

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: move one particular file up to the parent folder

    Try this:

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    2010; 2016
    Posts
    390

    Re: move one particular file up to the parent folder

    Fantastic!! Thank you so much.

    SOLVED

+ 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 To Same Parent Folder
    By NeedForExcel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-24-2016, 04:51 AM
  2. Create folder and move files to that folder based on file name
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-26-2016, 06:58 PM
  3. Get Values of a cell from a file in a parent folder
    By plans in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-04-2015, 12:23 PM
  4. [SOLVED] VBA Code to find a Folder name within a Parent folder that contains defined text
    By knowga in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-24-2014, 05:17 AM
  5. Open a file from parent folder of the activeworkbook
    By alazari in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2013, 06:38 AM
  6. Move Excel file to parent folder and add suffix with VBA Macro
    By clogwyn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2013, 05:15 PM
  7. [SOLVED] macro to move from file to file, folder to folder
    By davegb in forum Excel General
    Replies: 0
    Last Post: 01-21-2005, 04:06 PM

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