How do I bring focus to a msgbox?

前端 未结 1 710
南笙
南笙 2021-01-15 09:38
Private Sub CommandButton1_Click()
Dim i As Long
Dim xreply As Integer
Dim names As Long

Dim IE As Object

i = ActiveSheet.Range(\"D1\").Value

While Not IsEmpty(Ac         


        
相关标签:
1条回答
  • 2021-01-15 10:30

    Try this:

    ...
    AppActivate ("Microsoft excel")
    xreply = MsgBox("Is this page for women? Record:" & i, vbYesNo, "Checker")
    ...
    
    0 讨论(0)
提交回复
热议问题