Private Sub Command1_Click()Dim i, mFor i = 0 To Screen.FontCount - 1If Text1.Text = Screen.Fonts(i) Then m = 1NextIf m = 1 Then MsgBox "含有此字体"End Sub