w*****x 发帖数: 3 | 1 I have a very basic programming question. When I am trying to use VBA in Excel
programming, the IF-ELSE-END IF seems cannot work for me. The error message i
s: "End If without block IF". Can anyone have a look at this code and see what
's the problem? Thanks a million in advance.
Sum = 0
Adhesion = 0
For j = 1 To 8
MinForce = Cells(41, 2 * j) * sensitivity
For i = 41 To 40 + Number_of_Layers
If Cells(i, 2 * j) > MinForce Then
|
|