4D v17R3 allows 4D View Pro documents to be saved as an xlsx file. This allows 4D View Pro documents to be saved and opened in compatible spreadsheet applications like Excel.
Below is sample code that automatically opens the current View Pro Area in the default compatible Spreadsheet application:
VP EXPORT DOCUMENT ($vpArea_t;"tempVP.xlsx")
$cmd:=Get 4D folder(Database folder)+"tempVP.xlsx"