Command Reference : Programming Language Reference
Syntax: @tablenames("str")
Argument: string, str
Return: string, names
Returns a space delimited string containing the names of the table names of a foreign file. The name (and path) of the foreign file should be specified in str, enclosed in quotes. For an Excel file, the names of the Excel sheets will be returned.