Closed Thread
Results 1 to 2 of 2

looping through folders - saving xls files as PDFs

  1. #1
    Registered User
    Join Date
    05-11-2016
    Location
    Ottawa, Canada
    MS-Off Ver
    2010
    Posts
    2

    looping through folders - saving xls files as PDFs

    Hi,

    I've written code in one worksheet module that I'm using to loop through multiple folders containing dozens of xls files. Each file is of the same format with multiple graphs and 3 tables of data. The charts and tables (which are linked from a second tab in the workbook) are manipulated then the active sheet is saved as a PDF file.

    Everything runs fine except that I'm updating the headings on each of the 3 tables with 3 character acronyms for the department that the report is for. When I step through the code it's great, pdf saves and the proper headings are there. When I let the code run the updated headings are not there, the default title is.

    I've tried everything i can think of. I ended up writing code to copy each table and pasted it over the original table, which seemed to work for a while, but that didn't last. Default titles returned.

    Anyway, I'm using Excel 2010

    Any thoughts.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: looping through folders - saving xls files as PDFs

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Saving as PDFs, but individually....
    By luke1234567 in forum Excel General
    Replies: 1
    Last Post: 11-19-2014, 06:25 AM
  2. Replies: 1
    Last Post: 09-12-2013, 09:23 PM
  3. Looping thru files in 2 folders,but the macro picking the files by the modified date
    By XLbeginer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-21-2013, 10:37 AM
  4. Replies: 2
    Last Post: 01-04-2013, 07:22 AM
  5. Replies: 1
    Last Post: 02-29-2012, 01:15 PM
  6. Saving Worksheet as different pdfs
    By manny_cb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2009, 03:49 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