【发布时间】:2016-10-09 23:42:04
【问题描述】:
我目前有以下:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B2,B11,D11")) Is Nothing Then
Application.EnableEvents = False
For Each C In Target
If Not Intersect(C, Range("B2,B11,D11")) Is Nothing And Not C.HasFormula Then _
C.Value = UCase(C.Value)
Next C
Application.EnableEvents = True
End If
End Sub
我需要添加另一个宏来基本上做:
如果 G6 = N/A 则复制并粘贴到 H6 中,否则什么也不做。
我应该如何添加这个?
【问题讨论】: