正開始沒有許可證的細胞含量比較0如何針對特定字符串
dim transientLicense AS integer
transientLicense=0
dim steadyLicense AS integer
steadyLicense=0
dim staticLicense AS integer
staticLicense=0
檢查條件
if((value.cell(AH) =("radial vibration" or "acceleration" or "acceleration2" or "velocity" or "velocity2")) && (value.cell(W)="yes") && (value.cell(D)="active") Then
transientLicense++
else if((value.cell(AH) =("radial vibration" or "acceleration" or "acceleration2" or "velocity" or "velocity2")) && (value.cell(W)="no") && (value.cell(D)="active") Then
steadyLicense++
else if((value.cell(AH)=("axial vibration" or "temperature" or "pressure") && (value.cell(D)="active")) Then
staticLicense++
我怎麼寫這個在適當的VBA語法
這是更好,如果你不進行技術開始你的問題:標籤的位置是什麼;加上閱讀標籤的描述:不要使用「vba」作爲excel-vba。 –