Dim doc As New PrintDocDim Cur As Row = Tables("表A").CurrentDim P As String = Cur("编号")doc.SavePDF("C:\Documents and Settings\Administrator\My Documents\PDF\" & P & ".pdf")