+ Reply to Thread
Results 1 to 5 of 5

Help with macro for saving to a folder specified in a cell

  1. #1
    Registered User
    Join Date
    07-14-2021
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 365 MSO (16.0)
    Posts
    3

    Help with macro for saving to a folder specified in a cell

    Hi all,

    I am looking to create a macro that will allow me to save the excel workbook I am working on to a folder that I can specify the name of in a certain cell.

    For example if I have folders A, B, C, D that I want to be able to save to. In cell A1 I want to be able to enter A, B, C or D so that I don't have to go through browse to choose my file location.

    Not sure if this is possible, any help would be greatly appreciated.

    Thanks,
    RMS Design

  2. #2
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Help with macro for saving to a folder specified in a cell

    It can be quite simple, but you give too little information. You can search for Thisworbook.saveas.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Messages have been translated from Dutch to English by means of google translate.

  3. #3
    Registered User
    Join Date
    07-14-2021
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 365 MSO (16.0)
    Posts
    3

    Re: Help with macro for saving to a folder specified in a cell

    This workbook will be used as a template for quoting jobs. In cell A1 I would like to put the company that I am quoting the job for. On my desktop I have a folder containing many folders with all of the names of the companies I generate quotes for. I would like the macro to search the folders to find the company name which is in cell A1. Basically I am searching for the save location based on Cell A1.

  4. #4
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Help with macro for saving to a folder specified in a cell

    That's also about in #1 and doesn't add much new information. Already searched for Saveas

  5. #5
    Registered User
    Join Date
    07-14-2021
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 365 MSO (16.0)
    Posts
    3

    Re: Help with macro for saving to a folder specified in a cell

    I searched for it, I can't seem to find a way to choose the file path.

+ 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. Creating a folder and saving sheet using path within a cell
    By gussyboyyo2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2020, 04:09 AM
  2. [SOLVED] Saving file to same folder where macro is located
    By UAL225 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2019, 03:02 PM
  3. [SOLVED] Saving files from separate folders in folder, macro
    By Pi* in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-12-2018, 06:43 AM
  4. Saving file to folder using cell details
    By deefield in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-30-2016, 05:18 PM
  5. [SOLVED] Creating a Folder and Saving a Pdf to it based on cell value
    By BBLADES in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-27-2016, 09:43 AM
  6. Macro Saving to a folder
    By shizer in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-12-2014, 11:31 AM
  7. creating a folder and saving in it with a filename taken from cell
    By dittotharappel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2009, 12:52 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