Hi all,
I've created a macro that does the following
OpenQuery
RunCommand
Close
So it runs the specified query, then on the RunCommand I have the command set to 'OututToExcel'
All this works as I'd like but I was wondering if there's an easy way to save the file with a date stamp?
Currently the file is saved as the name of the query that's run in the default database address.
Thanks
I've created a macro that does the following
OpenQuery
RunCommand
Close
So it runs the specified query, then on the RunCommand I have the command set to 'OututToExcel'
All this works as I'd like but I was wondering if there's an easy way to save the file with a date stamp?
Currently the file is saved as the name of the query that's run in the default database address.
Thanks