小编jac*_*dge的帖子

如果没有结束则阻止if和Next没有结束

Dim GroupChoice, MEGChoice, StudentName, group1Late, MEG1Late As String

'Making the link variables equal to the cell link for the combo boxes
GroupLink = Range("LateGroup")
MEGlink = Range("LateMEG")
'loop to find which choice the user has picked for their group
If GroupLink = 1 Then
    MsgBox "You have not selected a group", vbOKOnly
    Exit Sub
Else
If GroupLink = 2 Then
    GroupChoice = "1"
Else
If GroupLink = 3 Then
    GroupChoice = "2"
End If
'loop to find which choice the …
Run Code Online (Sandbox Code Playgroud)

excel vba

1
推荐指数
1
解决办法
75
查看次数

标签 统计

excel ×1

vba ×1