+ Reply to Thread
Results 1 to 9 of 9

Rename all files in the same folder then print in order?

  1. #1
    Forum Contributor
    Join Date
    03-02-2018
    Location
    england
    MS-Off Ver
    2016
    Posts
    156

    Rename all files in the same folder then print in order?

    Hi,

    I'm trying to rename all the files in the same folder then print all the worksheets in all files is this possible in vba? I'd attached how I want it to be rename and what it was before.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Rename all files in the same folder then print in order?

    For the first step (rename files) see my personal tool: Macro is uggly, old etc.. but it's working.
    Put the file in the folder where files are and open it
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Contributor
    Join Date
    03-02-2018
    Location
    england
    MS-Off Ver
    2016
    Posts
    156

    Re: Rename all files in the same folder then print in order?

    @PCI,

    Apologised where might I be able to see your personal tool?

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Rename all files in the same folder then print in order?

    Quote Originally Posted by PCI View Post
    For the first step (rename files) see my personal tool: Macro is uggly, old etc.. but it's working.
    Put the file in the folder where files are and open it
    Can you clarify this answer?

  5. #5
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Rename all files in the same folder then print in order?

    Houps, I forgot the file: See attached
    As mentioned, record the file in the folder where are the files to rename.
    Open the file, and a macro inside will initialize the path.
    See button in the menu to make the list of the files
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    03-02-2018
    Location
    england
    MS-Off Ver
    2016
    Posts
    156

    Re: Rename all files in the same folder then print in order?

    @PCI

    Thanks for the help.

    Is there anyway to print all the files in the same folder? I came also a code that let me combine all the files within the same folder into one workbook then print all worksheets out at once. But is there anyway to speed up the process?

    Please Login or Register  to view this content.

  7. #7
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Rename all files in the same folder then print in order?

    Are you able to print each workbook at the same time as you are looping through the workbooks?

  8. #8
    Forum Contributor
    Join Date
    03-02-2018
    Location
    england
    MS-Off Ver
    2016
    Posts
    156

    Re: Rename all files in the same folder then print in order?

    @davesexcel

    No, this only let me combine all the files into one workbook. If I want to print I would need to click print after it finished combining, but the things is that sometime there's more than 100 files and combining them takes awhile.

  9. #9
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Rename all files in the same folder then print in order?

    Yes, it will take a while.

    Use code to print the 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. Rename .pdf files in a folder
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-11-2019, 01:11 AM
  2. rename files in folder
    By anilg0001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-24-2014, 08:22 AM
  3. [SOLVED] Rename Files in A folder
    By pradeepjassal in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-12-2012, 10:36 AM
  4. [SOLVED] Move, Rename all files from a folder
    By kinseld5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2012, 12:20 PM
  5. rename files in a folder
    By Varun Nair in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-18-2006, 08:25 AM
  6. [SOLVED] rename files in a folder
    By Varun Nair in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-18-2006, 05:05 AM
  7. rename all files in a folder
    By DIBS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-05-2006, 02:50 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