Skip to content

Local/Remote Path Conversion Bug #39

Description

@4lm1ghty

Diagnostics
Win VBA7 x64


Accounts found: 1

Name: Business1
ID: cc315d33-cf49-41d0-8485-10969c2f6fe1
Has DAT: false
Is Valid: true


Providers found: 2

Base Mount: C:\Users\EG\OneDrive - Company
Is Business: true
Is Main: true
Mount Point: C:\Users\EG\OneDrive - Company
Sync ID: ffcb1524-1de5-4fd5-98ae-ff2929118adf
Web Path: https://company-my.sharepoint.com/personal/user_company_com/Documents/

Base Mount: C:\Users\EG\OneDrive - Company
Is Business: true
Is Main: false
Mount Point: C:\Users\EG\OneDrive - Company
Sync ID: ffcb1524-1de5-4fd5-98ae-ff2929118adf
Web Path: https://company.sharepoint.com/sites/Company/Documents/

Describe the bug
I am using this code:
Dim SourceFile As String
SourceFile = GetLocalPath("https://company.sharepoint.com/sites/Company/Documents/General/Subfolder 1\Subfolder 2\Subfolder 3\file.xlsm")

It should return:
C:\Users\Username\OneDrive - Company\Documents - Company\General\Subfolder 1\Subfolder 2\Subfolder 3\file.xlsm

but it returns:
C:\Users\Username\OneDrive - Company\General\Subfolder 1\Subfolder 2\Subfolder 3\file.xlsm

Additional context
Hello Christian,
i guess Microsoft updated OneDrive once again and changed the way the path conversion functions.

Thanks for the quick fix in advance!

Best Regards
Moritz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions