Specifically, this is the createNewDocumentWithProgID function, and the call
looks like this:
createNewDocumentWithProgID('http:\u002f\u002fSomeSharePointServer.com\u002fTheS\
iteName\u002fTheSubSiteName\u002fThe\u002520Library\u002520Holding\u002520The\u0\
02520Template\u002fTheTemplateFile.xlsx',
'http:\u002f\u002fSomeSharePointServer.com\u002fTheSiteName\u002fTheSubSiteName\\
u002fTheTargetLibrary',
'SharePoint.OpenDocuments', false)
Passing the parameter from the first list item will be tricky in this case,
but my suggestion would be to append it to the URL in the first parameter of
the function call. Then, like Bryan said, you may be able to get it in the
DIP... though I'm not sure about that part. You might have to tap into the
ActiveX control that gets created by the create function.
Creating the actual link in another list should be a matter of concatenating
the big ugly JavaScript call and the appropriate field from within the same
list item. To display it as a link, you'll need either (a) a custom display
form (created, say, in SharePoint Designer), or (b) an extra bit of
JavaScript that converts the rendered field into a hyperlink after the page
loads. This script can be added via a Content Editor Web Part on the List
View page.
Does that help, or did I just make a huge new mess?