Hope this Vba code might helpful for you to move the pdf files to another folder
Sub Move_Pdf_Files()
'This example move the Pdf Files from FromPath to ToPath.
Dim FSO As Object
Dim FromPath As String
Dim ToPath As String
Dim FileType As String
FromPath = "F:\New folder\test" '<< Change
ToPath = "F:\New folder\test1" '<< Change
If Right(FromPath, 1) = "\" Then
FromPath = Left(FromPath, Len(FromPath) - 1)
End If
If Right(ToPath, 1) = "\" Then
ToPath = Left(ToPath, Len(ToPath) - 1)
End If
Set FSO = CreateObject("scripting.filesystemobject")
If FSO.FolderExists(FromPath) = False Then
MsgBox FromPath & " doesn't exist Please create the folder First"
Exit Sub
End If
Set Folder = FSO.GetFolder(FromPath)
For Each Filename In Folder.Files
FileType = Right(Filename, 3)
If FileType = "pdf" Then
oFilename = FSO.GetFileName(Filename)
ToFileName = ToPath & "\" & oFilename
FileCopy Filename, ToFileName
Filename.Delete
End If
Next
End Sub