Hi Everyone,
I need some help!!
how can I use VBA or Macro run SQL query automatically everyday. Also have it import into excel and email automatically into outlook. I cant use stored procdude so this is my only option.
I think, you can achieve it by VBscript. Please put all your code in a notepad and save it as .vbs extension. To run automatically, you can put vbs in Task scheduler.