第一题:Private Sub cmd1_Click()Dim m, n, k, num As Integerm = Val(T1)n = Val(T2)k = 1num = m * kDo While num Mod n <> 0k = k + 1num = m * kLoopT3 = numEnd Sub第二题:Private Sub Cmd2_Click()DoCmd.CloseEnd Sub