New entry function, for use in spreadsheets and documents.