اذهب الي المحتوي
أوفيسنا

فتح موقع بواسطة boutton /textbox في نموذج ا لاكسس


kamel2711

الردود الموصى بها

Function GetUserAddress() As Boolean
    Dim strInput As String
                                                                                            انشاءدالةتقوم بفتح قوقل
    On Error GoTo Error_GetUserAddress
    strInput = InputBox("https://www.google.dz")
    Application.FollowHyperlink strInput, , True
    GetUserAddress = True

Exit_GetUserAddress:
    Exit Function

Error_GetUserAddress:
    MsgBox Err & ": " & Err.Description
    GetUserAddress = False
    Resume Exit_GetUserAddress
End sub
----------------------------------------------
Private Sub Texte13_Click()                                                               text/button
    If GetUserAddress = True Then
        MsgBox "Successfully followed hyperlink."
    Else
        MsgBox "Could not follow hyperlink."
    End If


 

رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information