Write a TXT file on a OneDrive folder not mapped (like https://onedrive.live.com/?id=8DDF6095DD32CCEA/.....)

Alfred Gunter 1 Reputation point
2022-08-17T19:33:25.53+00:00

I need to create a Function in VBA (Excel) to write a TXT file to a OneDrive folder but that folder is not mapped on my computer, I would say it is in a raw folder, like https://onedrive.live.com /?id =8DDF6095DD32CCEA/......

Can anyone help me with this? It seems unreasonable that VBA Excel (from microsoft) cannot write to a OneDrive folder (also Microsoft).

Thank you

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,701 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 32,081 Reputation points Microsoft Vendor
    2022-08-18T02:49:00.153+00:00

    Hi @Alfred Gunter ,
    Since our forum focus on c# code, and your question is about sharepoint development with vba. I will recommend you to go Tech Community for some more professional advice.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments