Dynamic Code Block Inputs

Hi all,

Is it possible to know what list inputs are being used in a code block or import the list to a code block?

I am exporting a lot to excel and listing the data in a code block is much better than using List.Creat. I like to match the listed inputs to the headers that I am going to use. Is it possible to generate these in a single location and use them for both?

Something like this?