I would like to move up from my workbook directory to the folder above, or even two folders above, in the tree.
I found some hint here:
Go up one folder level
https://www.mrexcel.com/board/threads/up-directory-level-in-vba.594371/
I developed this code:
Sub folder()
Dim ParentPath As String
Dim Path As String
Path = ThisWorkbook.Path
ParentPath = Left$(Path, InStrRev(Path, "\"))
ChDir ".."
End Sub
But, it still opens the folder at the level where my workbook is based.