I am trying to open a windows folder (Downloads folder) via a commandbutton in a userform in Excel. However I want to use a generic folder path to access the downloads folde
You want to use the Environ() function:
Environ()
"C:\Users\" & Environ("Username") & "\Downloads"
Environ Function