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

كود لطيف لادراج الالوان


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

Set objExcel = CreateObject("Excel.Application")

objExcel.Visible = True
objExcel.Workbooks.Add

For i = 1 to 56
    objExcel.Cells(i, 1).Value = i
    objExcel.Cells(i, 1).Interior.ColorIndex = i
Next

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

اخي محمد

وعليكم السلام ورحمة الله

المقصود من الكود هو معرفة رقم اللون في اكواد VBA حيث انك تختار الاحمر مثلا وتريد معرفته

فالكود هنا يوضح الالوان

لتشغيله اذهب الى ماكرو ثم تشغيله سيعطيك الالوان

تحياتي

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

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