|
-
Dec 6th, 2005, 12:10 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Excel HOW to Pause and wait for Keystoke
Can someone please tell me if it is possible to write an Excel macro that will pause at a certain place and wait until the user does a keystroke at which time the macro will resume execution? I do not want to use inputbox or msgbox. Thanks.
-
Dec 6th, 2005, 12:14 PM
#2
Re: Excel HOW to Pause and wait for Keystoke
Excel VBA question moved to Office Development.
-
Dec 6th, 2005, 07:11 PM
#3
Fanatic Member
Re: Excel HOW to Pause and wait for Keystoke
Um, yes and no. No in the sense it isn't an option you can select in the dropdown list in the macro builder. And yes in the sense that you can program it in a module within Access and then set a Macro to run that section of code.
But, you will need to use Windows API to watch for keystrokes and when it receives one to continue. Don't think their is anything prebuilt in Office VBA for this.
-
Dec 7th, 2005, 09:34 AM
#4
Thread Starter
Hyperactive Member
Re: Excel HOW to Pause and wait for Keystoke (Resolved)
Thanks, but I'm not using Access. I want to write a macro that loops through some code and displays some data; but I want the user to be able to suspend the looping with a keystroke or a mouse click, and then resume looping with another keystroke or mouse click.
Last edited by doasidont; Dec 8th, 2005 at 04:43 PM.
-
Dec 8th, 2005, 04:44 PM
#5
Thread Starter
Hyperactive Member
Re: Excel HOW to Pause and wait for Keystoke
How do you mark an item as 'resolved'?
-
Dec 8th, 2005, 04:46 PM
#6
Addicted Member
Re: Excel HOW to Pause and wait for Keystoke
 Originally Posted by doasidont
How do you mark an item as 'resolved'?
When you are viewing this thread...under "Thread Tools"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|