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

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

قام بنشر

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

اريد التعديل علي  هذا الكود  لكي يستعرض لي كل الملفات وليس المجلدات فقط

يوجد مرفق للتوضيح 

 

    With Application.FileDialog(4)
        .AllowMultiSelect = False
        .Title = "Dialogue Caption/Title"
 
        If .Show = -1 Then
                   
          Me.name_folder = .SelectedItems.Item(1)
        
                
Dim sFilePath$
sFilePath = Me.name_folder
Me.pate = Split(sFilePath, "\")(UBound(Split(sFilePath, "\")))


    
        End If
   End With

 

 

 

 

doctor_101.rar

قام بنشر

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

 

جرب غير هذا السطر :

With Application.FileDialog(4)

بالتالي:

With Application.FileDialog(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