I'm trying to make a macro that exports the specified sheets as a PDF. Right now the code looks like this:
Sub SaveasPDF()
fileName = Sheets("Month Formatting").Range("A8") + " PDF"
Sheets("Totals Sheet").Activate
ActiveSheet.UsedRange.Select
Sheets("Flare").Activate...