Get MAPI Folder in Outlook from Folder Path

前端 未结 3 1917
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-18 20:47

I am trying to use the function from on this page: http://www.outlookcode.com/d/code/getfolder.htm to use the folder path to navigate to a folder. (I will copy that code ont

3条回答
  •  感情败类
    2021-01-18 21:19

    Apparently also needs this line:

    strFolderPath = Replace(strFolderPath, "\", "/")
    

    But after the previous line.

    So, in context:

    strFolderPath = Replace(strFolderPath, "\\", "")
    strFolderPath = Replace(strFolderPath, "\", "/")
    

提交回复
热议问题