+ Reply to Thread
Results 1 to 5 of 5

Save all worksheets from all workbooks in a specific folder

  1. #1
    Forum Contributor
    Join Date
    11-06-2012
    Posts
    139

    Save all worksheets from all workbooks in a specific folder

    Hi Guys,

    I would like to save all sheets from all workbooks in a specific folder as value only without opening them all.

    Is there a macro available for this?

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Save all worksheets from all workbooks in a specific folder

    Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Save all worksheets from all workbooks in a specific folder

    I don't believe you can do it without opening the workbooks, but you don't have to do anything manually except run the macro. Substitute the folder path for 'ThisWorkbook.Path' in the code below. It is assumed that these are single sheet workbooks or that sheet 1 is the only sheet with data. It is also assumed that only those workbooks you want to remove formulas from are in that folder. If there are other workbooks in the folder that you do not want to change, they will need to be listede as exceptions in the code.
    Please Login or Register  to view this content.
    Last edited by JLGWhiz; 03-06-2018 at 02:50 PM.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  4. #4
    Forum Contributor
    Join Date
    11-06-2012
    Posts
    139

    Re: Save all worksheets from all workbooks in a specific folder

    It gives an unknown filename error at the part of :

    HTML Code: 

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Save all worksheets from all workbooks in a specific folder

    Make sure of the folder path that has the excel files ..
    Fix the line of path to suit you
    Please Login or Register  to view this content.
    I supposed a folder named "TestFolder" in the same path of your workbook ...

+ 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. Replies: 6
    Last Post: 10-19-2017, 02:49 AM
  2. Word Macro: Save document as PDF to specific folder with specific name
    By PeteVH in forum Word Formatting & General
    Replies: 5
    Last Post: 05-11-2017, 07:18 PM
  3. Moving worksheets from workbooks in one folder to workbooks in other folders of same name.
    By Mohammadhafiz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-30-2016, 01:00 PM
  4. Save worksheets as a new workbook in a specific folder
    By Superutz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-14-2015, 09:53 AM
  5. Replies: 1
    Last Post: 10-18-2014, 05:04 PM
  6. [SOLVED] Save All Worksheets As Individual Workbooks In a Special Folder in PDF format
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-20-2012, 01:27 PM
  7. [SOLVED] Macro to save workbook to specific folder with a specific name, then kill/disable itself.
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2012, 03:50 PM

Tags for this Thread

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