Vba复制或移动附件outlouk到sharepoint [英] Vba copy or move an attachmants outlouk to sharepoint

查看:65
本文介绍了Vba复制或移动附件outlouk到sharepoint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想要简单的脚本移动或将附件从outlook复制到Sharepoint库



谢谢



我尝试了什么:



你好/>


我希望我将简单的脚本移动或复制从outlook到Sharepoint库的附件



谢谢

Hi

I want i simple script move or copy an attachmants from outlook to Sharepoint library

Thank you

What I have tried:

Hi

I want i simple script move or copy an attachmants from outlook to Sharepoint library

Thank you

推荐答案

Sub SaveAttachement(Item As Outlook.MailItem)
                Set attachs = Item.Attachments
 
        For Each attach In attachs
            file = attach.FileName
            attach.SaveAsFile "http://Sharepoint." & file   '<===  correspond au dossier dans lequel je veux sauvegarder les pièces jointes
        Next
End Sub





i尝试了这个脚本,但没有工作



i was try abot this script but no work


这篇关于Vba复制或移动附件outlouk到sharepoint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆