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.
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.
Then I would have to Save Each PDF FileSub 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
Last edited by davesexcel; 09-03-2010 at 07:57 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks