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

كيف اجعل الخلفية السوداء للفورم تكون بيضاء عند الطباعة


skyblue

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

السادة المشرفين  والاعضاء الافاضل        المحترمين 

 

السلام عليكم ورحمة الله وبركاته    وبعد : 

الكود المرفق خاص بطباعة  الفورم . علما ان الفورم  خلفيته سوداء 

فهل يمكن التعديل على كود الطباعة هذذا بحيث يجعل الخلفية بيضاء عند الطباعة .

 

تحياتي 

 

 

 Private Sub CommandButton6_Click()
CommandButton2.Visible = False
CommandButton5.Visible = False
Me.PrintForm
CommandButton2.Visible = True
CommandButton5.Visible = True
End Sub
 
رابط هذا التعليق
شارك

اخى

جرب الكود الاتى

 Private Sub CommandButton6_Click()
CommandButton2.Visible = False
CommandButton5.Visible = False
UserForm1.BackColor = &H80000014
Me.PrintForm
CommandButton2.Visible = True
CommandButton5.Visible = True
UserForm1.BackColor = &H80000001
End Sub

تقبل تحياتى

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

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

 لقد جربت  كود الطباعة  ممتاز جدا 

وفقك الله للخير دائما 

اشكرك اخى

واتمنى لك التوفيق

تقبل تحياتى

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

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