No each city is not is own tab. If it needs to be i can adjust but i have a tab Sheet1 which have polpulation and other data for each city on it. i have format it to where i print that tab it prints on 20 pages one for each city. This is a simple use of this. I am going to try and use the same code to do this on a much large excel workbook that has 20 tabs Sheet1, Sheet2, ect and each sheet is for a different type of information for the cities. here is my current macro that just prints a paper copy for me.
Sub Macro3()
'
' Macro3 Macro
'
'
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1, Copies:=1, Collate _
:=True, IgnorePrintAreas:=False
ActiveWindow.SelectedSheets.PrintOut From:=4, To:=4, Copies:=1, Collate _
:=True, IgnorePrintAreas:=False
ActiveWindow.SelectedSheets.PrintOut From:=2, To:=2, Copies:=1, Collate _
:=True, IgnorePrintAreas:=False
End Sub
What i am trying to do is get each page within the sheet to be saved as a certain file name. like from 1 to 1 to always be saved as Denver.pdf 2 to 2 to be Dallas.pdf.