+ Reply to Thread
Results 1 to 5 of 5

converting only cetain sheets to pdf

  1. #1
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    844

    converting only cetain sheets to pdf

    I have the following macro to convert excel files to pdf. but I only want to convert sheet 1, sheet 2, and sheet 3. The macro is converting all the complete excel files which are 16 sheets. please help:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: converting only cetain sheets to pdf

    Hi there,

    Try using:

    Please Login or Register  to view this content.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  3. #3
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    844

    Re: converting only cetain sheets to pdf

    I add your code but it comes up in 'red' in vba editor. it looks like this, if you can paste the entire code please.
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    844

    Re: converting only cetain sheets to pdf

    I ended up following a tutorial and changed this line:
    Please Login or Register  to view this content.
    thank you ! reputation added. thanks again.
    Last edited by chubbychub; 10-21-2017 at 07:47 PM.

  5. #5
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: converting only cetain sheets to pdf

    Hi again,

    Many thanks for your feedback and also for the Reputation increase - much appreciated!

    You're welcome - glad I was able to help (if only slightly )

    Best regards,

    Greg M

+ 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. [SOLVED] Skip cetain predefined texts in the row
    By Sekars in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2016, 05:15 AM
  2. Replies: 1
    Last Post: 10-04-2013, 04:21 AM
  3. [SOLVED] autosave after cetain macro is run
    By miyachow in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2013, 09:25 AM
  4. Macro to export cetain tabs
    By mjhopler in forum Excel General
    Replies: 1
    Last Post: 07-28-2010, 09:15 AM
  5. stop at cetain row auto paste
    By dj_siek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2007, 07:51 AM
  6. [SOLVED] VBA code to open cetain books
    By merc in forum Excel General
    Replies: 0
    Last Post: 08-10-2006, 11:40 AM
  7. help with this VBA code to open cetain books
    By merc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2006, 01:34 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