点击文件名下载附件
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Target.Column <> 3 Then Exit Sub
r = Target.Row
If r < 5 Or r > 11 Then Exit Sub
If Cells(r, 2) = ".购买" Then UserForm1.Show 0
If Cells(r, 2) = "^回收" Then UserForm2.Show 0
End Sub