I have some excel VBA / Macro requirements that I am unsure how to accomplish.

However, with the same exact dataset, I can accomplish all the filtering, and modifying of data through various querying / manipulation steps which I am very familiar with.

However, the deliverable needs to be in excel.

Is there any way to run all the querying through access and capturing the background code that was generated, and then in turn moving that to excel.

A bit odd question, but I hope it is somewhat clear.