Good morning experts
I am trying to get a macro to open the users Onedrive folder and allow them the option of which file to open but I keep getting the error in the picture.
The folder is neither read-only or encrypted
The code I tried is:
Workbooks.Open ("C:\Users\" & Environ("UserName") & "\OneDrive\SIT")
Am I missing something??
Many thanks for looking
I am trying to get a macro to open the users Onedrive folder and allow them the option of which file to open but I keep getting the error in the picture.
The folder is neither read-only or encrypted
The code I tried is:
Workbooks.Open ("C:\Users\" & Environ("UserName") & "\OneDrive\SIT")
Am I missing something??
Many thanks for looking