So I think I saw something about this on this site but I cannot seem to find it anymore. Either way, I don't think it was answered.
What I am trying to do is pass a value from SharePoint into Excel by adding the value in the URL when opening the Excel file (which opens in Excel and NOT the browser).
The URL would be as follows:
http://<site>/excelfile.xls?key=1234
The problem is, though I can get the path no problem into Excel, I need the "Key" value that is in the URL however this doesn't come through, the path ends at the .xls text. I would open this in the browser where the value can be captured but that just creates chaos with open objects especially when I close it and open it again.
I have looked at doing this a number of ways., even as far as trying to get the text of the macro security warning (since the full filename with the key value is there) but have had no luck.
Any ideas on how I can go about getting this value into Excel?
What I am trying to do is pass a value from SharePoint into Excel by adding the value in the URL when opening the Excel file (which opens in Excel and NOT the browser).
The URL would be as follows:
http://<site>/excelfile.xls?key=1234
The problem is, though I can get the path no problem into Excel, I need the "Key" value that is in the URL however this doesn't come through, the path ends at the .xls text. I would open this in the browser where the value can be captured but that just creates chaos with open objects especially when I close it and open it again.
I have looked at doing this a number of ways., even as far as trying to get the text of the macro security warning (since the full filename with the key value is there) but have had no luck.
Any ideas on how I can go about getting this value into Excel?