【发布时间】:2021-07-12 06:55:20
【问题描述】:
我在 VBA 中有这段代码,并要求它在另一张纸上显示“最终装瓶”。下面是代码
Ip = input worksheet
op1 = Checks worksheet
i = 1
Cell = Ip.Cells(9, i + 2)
If LCase(Left(Cell, 14)) = "final bottling" Then
'#Checks Final Bottling
Op1.Cells(8, 5) = "Final Bottling Run, Please Consume materials. If unsure, check with materials planner!"
Else
Op1.Cells(8, 5) = ""
End If 'Check
如果 C9:H9 范围内的所有 cmets 都有注释“最终装瓶”,则会显示该消息。但是,如果该范围内只有一个单元格具有注释,它将不再出现。 不知道现在该怎么办,如果这听起来很愚蠢并且必须很容易解决,请道歉
【问题讨论】: