標題: 文具系統的問題 [打印本頁] 作者: JEAN 時間: 2013-11-14 10:46 標題: 文具系統的問題
[attach]16694[/attach]
請大家幫我看一下巨集程式如何改
Private Sub Worksheet_Change(ByVal Target As Range)
Dim xf As Range
Application.EnableEvents = False
If Target(1).Address(0, 0) = "B4" Then
If Target(1) = "" Then
Range("B3") = ""
Else
Set xf = [中文姓名].Find(Target(1), lookat:=xlWhole)
Range("B3") = xf.Offset(, -1)
End If
End If
Application.EnableEvents = True
End Sub作者: GBKEE 時間: 2013-11-14 11:46