I figured it out. I made a mypath2 variable which was just my original file path and the manager name added on the end. I then set mypath2 back to the original mypath variable before the loop to make sure mypath2 had the correct file path every time.
However, if anyone has a more efficient way to do this (less error prone or faster), I'd be happy to take the advice. Thanks for reading!
MyPath2 = MyPath & Range("A2").Value & "\"
With ActiveSheet
.ExportAsFixedFormat Type:=xlTypePDF, Filename:=MyPath2 & cell.Value & ".pdf", Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False
End With
WSNew.Parent.Close False
On Error GoTo 0
my_range.AutoFilter Field:=FieldNum
MyPath2 = MyPath
Bookmarks