+ Reply to Thread
Results 1 to 2 of 2

Using Excel VBA to move workbook to new folder

  1. #1
    Registered User
    Join Date
    07-04-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    34

    Using Excel VBA to move workbook to new folder

    How do I move a workbook to a new folder? My current method is clumsy, and involves opening a folder then saving it to another location by the same name then deleting it from the old location. (I had used another coding segment to previously get the filename and location using the get openfilename method, and then placing the filename and location into the variable "Filename").


    Please Login or Register  to view this content.
    Last edited by MichaelPhilipsz; 03-06-2015 at 07:01 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Using Excel VBA to move workbook to new folder

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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. Create FOLDER in subfoldesr and move folders with specific names into FOLDER
    By Amarjeet Singh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2015, 09:46 AM
  2. Move open workbook to different folder based on the value of a certain cell
    By mikkelsl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-13-2014, 09:34 AM
  3. Move Excel files from One folder to another
    By yus786 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-04-2013, 05:58 AM
  4. VBA to move an excel file to another folder
    By tvt in forum Excel General
    Replies: 4
    Last Post: 01-09-2010, 02:29 AM
  5. [SOLVED] Move up a folder in VBA (EXCEL)
    By Buffyslay in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-14-2005, 11:06 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