10-23-2023
06:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-23-2023
06:10 PM
Looking at documentation for FolderBrowserDialog you can set the property RootFolder or SelectedPath prior to ShowDialog() to limit and affect what the dialog will allow you to choose.
I'd recommend adding the SelectFolder function to your script, and modify the function signature for MakePDFFromDoc so you can pass a path or filename into it.