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

تحقق شرط عند الطباعة


husseinharby

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

السلام عليكم

لدى تقرير يعرض الخط bold

اريد كود عند الطباعة ان يتحول الخط الي italic

او بأختصار 

عند العرض يكون الخط bold

وعند الطباعة يكون الخط italic

تم تعديل بواسطه husseinharby
رابط هذا التعليق
شارك

في ازرار الطباعة ضع الكود التالي قبل تنفيذ امر الطباعة

و لا تنسى تغيير اسم التقرير 

تعيين نوع الخط للتسمية و مربع النص

Dim ctl As Control
For Each ctl In Reports!Report1.Controls
    If TypeName(ctl) = "TextBox" Then
        Reports!Report1.Controls(ctl.Name).FontName = "Arial"
    End If
    
    If TypeName(ctl) = "acLabel" Then
        Reports!Report1.Controls(ctl.Name).FontName = "Arial"
    End If
    
Next ctl

 

  • Like 2
  • Thanks 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.

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

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

Important Information