Yes, it is a lot of code, however, there is nothing you need to modify to make it work. You only need to paste it into a module in the modules tab of the access window. After that, you call the fGetFileName in your form's code such as on click event. For example, this is a statement I use that calls the function(s) and then extracts a portion of the file name.
MBAFileDate = Right(fGetFileName(), 8) 'Choose any Current file and extract the date extension
This brings up the common file save dialog box and then the user clicks on a file and the information about the file is saved to a variable.
Your second post indicates you want to hard code the values, so not clear whether you want the user to be able to choose the file or to predefine the file.