vba code to extract data from sql

I'm trying to export the data from multiple database from a single server into one excel using VBA code. Please can anyone help.

1 answer