• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VBA or Macro run SQL query automatically everyday

Jenn1981

Member
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.

Thank you:)
Jenn
 
Dear Jenn1981

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.
 
Back
Top