ndhmoney686
Thành viên thường trực




- Tham gia
- 25/4/12
- Bài viết
- 376
- Được thích
- 104





Bạn sữa câu như sau:Mình có sự cố ở trong file đính kèm. Nhờ các Bạn xem file và sửa giúp mình. Cảm ơn các Bạn nhiều!
Private Sub lstResult_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
On Error Resume Next
If Not Intersect([F8:F2223], ActiveCell) Is Nothing Then
Cells(ActiveCell.Row, "F") = lstResult.List(lstResult.ListIndex, 0)
ActiveCell.Offset(1).Select
End If
If Not Intersect([c8:c2223], ActiveCell) Is Nothing Then
Cells(ActiveCell.Row, "c") = lstResult.List(lstResult.ListIndex, 0)
ActiveCell.Offset(1).Select
End If
End Sub




Bạn sữa câu như sau:
PHP:Private Sub lstResult_DblClick(ByVal Cancel As MSForms.ReturnBoolean) On Error Resume Next If Not Intersect([F8:F2223], ActiveCell) Is Nothing Then Cells(ActiveCell.Row, "F") = lstResult.List(lstResult.ListIndex, 0) ActiveCell.Offset(1).Select End If If Not Intersect([c8:c2223], ActiveCell) Is Nothing Then Cells(ActiveCell.Row, "c") = lstResult.List(lstResult.ListIndex, 0) ActiveCell.Offset(1).Select End If End Sub


ban cho minh xin file với được khôngTheo chỉ dẫn của Bạn mình sửa được rồi. Cảm ơn Bạn tvxdgt nhiều!


bạn ơi cho mình xin file đã sửa với. Mình xem mà không biết sửa như thế nàoTheo chỉ dẫn của Bạn mình sửa được rồi. Cảm ơn Bạn tvxdgt nhiều!