+ Reply to Thread
Results 1 to 2 of 2

Auto save to specific folder based on cell contents

  1. #1
    Forum Contributor
    Join Date
    08-04-2008
    Location
    West Calder, Scotland
    MS-Off Ver
    365
    Posts
    418

    Auto save to specific folder based on cell contents

    Good Monring Folk

    I have this code I use to save a workbook into a specific folder, It is in a generic form we use accross several sites and it changes the name accordingly


    Is it possible to save the workbook to a folder with the same name as the contents of a cell...

    e.g. Sites,,,, Glasgow, Edinburgh and Aberdeen

    On opening the generic file cell A1 picks the location name...... if I have a folder for each location.... could it save the file into the relevent folder

    Many thanks for your help

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Auto save to specific folder based on cell contents

    Hi JamesT1,

    The following code should help you get started. There are two versions:
    a. Full path in cell 'A1'
    b. Partial path in cell 'A1' (e.g. 'Glasgow')

    It is assumed that cell 'A1' is in the first sheet. That is easily changed if you have a specific Sheet Name you are using for all your applications.

    Please Login or Register  to view this content.
    Lewis

+ 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. vba to print active sheet to pdf, auto save in specific folder then mail using outlook
    By lathamashly in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-21-2014, 04:57 AM
  2. Button to save workbook, with value in specific cell (H5), in a specific folder
    By markeeny in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-31-2014, 01:15 PM
  3. Save specific sheet to location based on contents of cell
    By KJL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-30-2012, 08:08 AM
  4. [SOLVED] Create a new folder based on a cell name or value and save copy onto that folder
    By Le_Tiago in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-20-2012, 01:33 PM
  5. Dynamic Save to Folder Based on Cell Contents
    By dthhal in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-25-2009, 05:42 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