Solved

how do you pause excel query

Posted on 2011-09-07
2
190 Views
Last Modified: 2012-05-12
Hi,
I have a simple web query that brings in data every second and writes to an Excel Worksheet. How do I pause it? So that I can look at the data for few minutes and then start it back up.
0
Comment
Question by:u002dag
[X]
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
2 Comments
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 250 total points
ID: 36499201
What I would do is add a command button to the worksheet that runs a macro which sets a global switch. Monitor the switch in the code that does the query and only do the query if the switch is set one way. You will need a DoEvents in the query loop to allow Excel to process the button clicks.

Kevin
0
 

Author Closing Comment

by:u002dag
ID: 36504475
thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

617 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