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

تعديل كود نسخ ملف


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

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

اريد تعديل الكود في المرفق ... بحيث اذا كانت الصورة موجودة لا يتم النسخ ...

يرجى وضع المجلد ( البرنامج ) على القرص D.rar

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

الحمد لله وجدت الحل ...

Dim xxzz
Set xxzz = CreateObject("Scripting.FileSystemObject")
If xxzz.FileExists(opttt) = False Then
MsgBox ("nooooooooo")
Else
MsgBox ("yeeeeeeees")
End If

حيث ان opttt هو مربع نص به مسار الملف ...

""" انا السائل و انا المجيب """ :biggrin:

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

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