What I am trying to do is open file dialog in a network path. I have figured out how to open it in the correct location, but it sets itself up as a website.
Here is the code:
Set files = Application.FileDialog(3) '3 is the File Picker type
files.InitialFileName = "https://website.com/pathing/Document/"
'files.InitialFileName = "\\website.com@SSL\pathing\Document\"
files.AllowMultiSelect = True
files.Show
Both lines that set the initial file name act exactly the same.
When I run the code I am unable to select more than one file. Unwanted Behavior
However, when I manually type in the pathing \\website.com@SSL\pathing\Document\ the File Dialog behaves as I want it to, allowing me to select multiple files. Desired Behavior
Is there a way for me to get directly to the intended behavior without having to manually enter it into the explorer bar?
Thank you.