Auto. refresh the sheet

Posted on 2015-01-07
Last Modified: 2015-02-07
I have the relevant connection and script (shown as attached) to refresh the Excel sheet, using the data from Sql server. Is there any other auto. way to do the refresh, using VBA codes?
Question by:HuaMinChen
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 10

Author Comment

ID: 40537266
Here is the attached file.

Accepted Solution

Bahloul earned 500 total points
ID: 40537514
you can use Microsoft task scheduler from run > taskschd.msc

that will gives you automatic schedule to run VB script or specific app just create basic task it's straight forward to finalize it .

LVL 10

Author Comment

ID: 40537547
Can I have more details to the way you suggested? Thanks.
Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.


Expert Comment

ID: 40537573
LVL 10

Author Comment

ID: 40539359
But I mean the way to use VBA codes, to auto refresh the relevant script, originally shown to this thread.
LVL 10

Author Comment

ID: 40539460
But I mean the way to use VBA codes, to auto run the relevant script, originally shown to this thread.
LVL 47

Expert Comment

by:Martin Liss
ID: 40595437
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Hide vba in gp 7 125
Regular Expression to find a line feed 1 62
MS-Access 2002 error (Win XP on Win7Pro) 19 130
Regex HELP 2 53
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question