اذهب الي المحتوي
أوفيسنا
بحث مخصص من جوجل فى أوفيسنا
Custom Search

عمل واجهة للاكسيل


Khalid Jnb

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

عند عمل واجهة يوزر فورم بالاكسل عن طريق اسم مستخدم وكلمة مرور 
بعد الادخال و تشغيل برنامج الاكسيل تظهر واجهة الاكسل اولا ثم تختفي وتظهر واجه اليوزر فورم 
علما انني استخدمت الكودات التالية
Private Sub Workbook_Open()
Application.Visible = False
form1.Show
End Sub
-----------------------------------------
Private Sub CommandButton1_Click()
ThisWorkbook.Save
Application.Quit
End Sub
Private Sub TextBox2_Afterupdate()
If TextBox2.Value = "123" Then
MsgBox "open", , "open"
form1.Hide
Application.WindowState = xlNormal
Application.Visible = True
Else
MsgBox ("ßáãÉ ÇáÓÑ ÛíÑ ÕÍíÍÉ")
End If
End Sub

Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
Cancel = True
End Sub

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

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.

×
×
  • اضف...

Important Information