Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to ignore user input during macro execution?

I have a macro that asks two yes-no questions to start. I generally answer
them yes and no by hitting Y-N very quickly. Sometimes I'm so quick that the
N goes into the currently selected cell, where Excel thinks I'm entering a
string. When I hit Escape, the macro stops, and the N is still there.

How do you get a macro to ignore all user input unless and until a message
or input box comes up?

--
J. Andrew Smith
Senior Systems Analyst
Standard & Poor''s, NYC

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default How to ignore user input during macro execution?

Hi,

Can we see the part of the macro that accepts this input?

Mike

"J. Andrew Smith" wrote:

I have a macro that asks two yes-no questions to start. I generally answer
them yes and no by hitting Y-N very quickly. Sometimes I'm so quick that the
N goes into the currently selected cell, where Excel thinks I'm entering a
string. When I hit Escape, the macro stops, and the N is still there.

How do you get a macro to ignore all user input unless and until a message
or input box comes up?

--
J. Andrew Smith
Senior Systems Analyst
Standard & Poor''s, NYC

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Macro. -- User input for sheet name Michael A Excel Programming 9 January 6th 06 03:17 PM
macro that promt user for input Fercho Excel Programming 1 March 16th 05 04:17 AM
User initiated break/actions during macro execution mbarron Excel Programming 1 September 29th 04 05:35 PM
Manual Input During Macro Execution Sherlock[_2_] Excel Programming 5 April 27th 04 04:59 PM
Pausing a macro for user input Wayne[_5_] Excel Programming 1 October 24th 03 10:34 PM


All times are GMT +1. The time now is 08:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"