I would say TableToExcel_conversion is kind of poorly documented. While the conversion toolbox allows me to manually convert [attribute tables] of a layer in my active data frame to an excel file, the documentation gives two example for which the input argument is a feature in a gdb. What I'm doing is listing all layers in my desired data frame, and calling this function on each of these layers, which is giving me the error "Dataset ... does not exist or is not supported". Note that, I can manually convert my layers to excel files using the conversion toolbox but don't want to because there's a slew of them.
Any suggestions?