I am looking for sample code to download and open Excel workbooks posted on the Application folder.
I have already figured out how to download a BLOB from the }Externals folder and open it as an Excel file if I know the filename.
But the problem is to figure out what the filename is in the first place.
I figured it has to do with these undocumented API calls:
Declare Function TM1Entry Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeFolder Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeCube Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeDimension Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeProcess Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeChore Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeView Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeSubset Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeBlob Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeExternal Lib "tm1api.dll" () As Long
Declare Function TM1EntryTypeFolderReference Lib "tm1api.dll" () As Long
Declare Function TM1ServerFolder Lib "tm1api.dll" () As Long
Declare Function TM1EntryType Lib "tm1api.dll" () As Long
Declare Function TM1EntryReference Lib "tm1api.dll" () As Long
Declare Function TM1EntryAdditionalProperties Lib "tm1api.dll" () As Long
Declare Function TM1FolderEntries Lib "tm1api.dll" () As Long
But I haven't been able to figure out how to use them yet.

Any help is appreciated !
Yan