I have a workbook on OneDrive. Usually, ThisWorkbook.FullName returns a path on disk:
c:\\Users\\MyName\\OneDrive - MyCompany\\BlaBla\\MyWorkbook 09-21-17.xl
The only thing I can think of, is to cache the localPath when you know you have it (before you start saving & synchronizing), and then "rebuild" the path using the cached localPath and the workbook's Name:
Public Sub Test()
Dim localPath As String
With New FileSystemObject
With .GetFolder(ActiveWorkbook.Path)
localPath = .Path
End With
'SaveAs/synchronize...
Debug.Print .BuildPath(localPath, ActiveWorkbook.Name)
End With
End Sub