It allows users to easily select from the existing Media library, using uploaded PDF documents. Furthermore, the user can select which page in the PDF document to use for the preview. This comes in handy if, for example, you are linking to an exported PowerPoint deck, but want to show something other than the title slide.
The macro takes the following parameters: