You are using outdated syntax, see:
https://felipenoris.github.io/XLSX.jl/stable/migration/
or the docstring:
help?> XLSX.readtable()
readtable(
filepath,
sheet,
[columns];
[first_row],
[column_labels],
[header],
[infer_eltypes],
[stop_in_empty_row],
[stop_in_row_function]
) -> DataTable
Returns tabular data from a spreadsheet as a struct XLSX.DataTable. Use this function to create a DataFrame from package DataFrames.jl.
(...)
Example
≡≡≡≡≡≡≡≡≡
julia> using DataFrames, XLSX
julia> df = DataFrame(XLSX.readtable("myfile.xlsx", "mysheet"))