When I call this code, and I navigate into sub folders I experience a constant refresh. The refresh resets the focus of the mouse and keyboard onto the object.
Dim testWindows As Object
Dim path As String: path = "absolute-path-to-OneDrive-location"
Set testWindows = CreateObject("Shell.Application").BrowseForFolder(0, "Title", path)
If I am creating a new folder within that window and naming it, after a regular interval the focus is ejected during the refresh and the process of renaming is restarted. This makes it hard to write the entire name of the new folder in one go. If I don't wait for the refresh then while I am typing the folder is selected again and it removes what was recorded to record the next keyboard struck.
If I disconnect the internet the problem remains.
If I disconnect OneDrive (close the app) it does not create this event of refreshing the window. The sequence is regular, something like every 12 seconds.