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

ترحيل بصيغة ملف PDF ثم فتح الملف


إذهب إلى أفضل إجابة Solved by علي الشيخ,

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

Sub Export_PDF_in_most()

Application.ScreenUpdating = False

 

    Sheet5.Select
ActiveSheet.ExportAsFixedFormat xlTypePDF, "C:\Users\DESKTOP\Dropbox" _
& "\  Escorts Date   " & N & UserForm1.TextDate1 & ".PDF"
Application.ScreenUpdating = True
End Sub

ملاحظة الترحيل  بصيغة PDF حاليا من خلال فورم فقط اريد فتح PDF مباشرة بعد ترحيلة لكي اتاكد من البيانات هل هي صحيحة

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

  • أفضل إجابة

السلام عليكم.

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

 

 Sub Export_PDF_in_most()

Application.ScreenUpdating = False

 
    Sheet5.Select
ActiveSheet.ExportAsFixedFormat xlTypePDF, "C:\Users\DESKTOP\Dropbox" _
& "\  Escorts Date   " & N & UserForm1.TextDate1 & ".PDF", OpenAfterPublish:=True
Application.ScreenUpdating = True
End Sub

 

  • Like 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