+ Reply to Thread
Results 1 to 2 of 2

Thread: Convert multiple sheets to multiple pdf files

  1. #1
    Registered User
    Join Date
    09-03-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Convert multiple sheets to multiple pdf files

    I am using excel 2007. I want to convert each sheet into a separate pdf file. If i select multiple sheets and convert, it converts all of them into one file. I have 20 sheets in a file. Right now I am converiting them manually one at a time. I dont have adobe and am a VBA novice. Any suggestions? Appreciate your help.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Cochrane,Alberta
    MS-Off Ver
    XL 2003,2007,2010
    Posts
    6,843

    Re: Convert multiple sheets to multiple pdf files

    I don't have XL'07, You can use the Macro recorder to Get the code to PDF in XL'07, then use a Worksheet Loop to PDF each Sheet.

    For me it would look something like this.

       Sub PDFSheets()
    
        For Each ws In ActiveWorkbook.Worksheets
        
            ws.Select
    
            Application.ActivePrinter = "PDF reDirect v2 on Ne00:" ' this is the PDF printer I use
            ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
                                                 "PDF reDirect v2 on Ne00:", Collate:=True
    
        Next ws
        
    End Sub
    Then I would have to Save Each PDF File
    Last edited by davesexcel; 09-03-2010 at 07:57 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0