Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default suspending-interacting-resuming

Hi,

I've written a routine that checks a few numbers on a worksheet.

When a number doesn't match a criterium, I .activate the offending cell,
and pop a msgbox stating the problem. Now excel waits until I push the OK
button, but I would like to enter another value in my cell, and THEN click
the OK button.

How can this be done ?


thx

Ward
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default suspending-interacting-resuming

Instead of a MsgBox (which is always modal, in other words
it always keeps focus until you close it) you will need to
create a UserForm and set its ShowModal property to False -
this will allow the user to interact with Excel while the
form is still showing.

-----Original Message-----
Hi,

I've written a routine that checks a few numbers on a

worksheet.

When a number doesn't match a criterium, I .activate the

offending cell,
and pop a msgbox stating the problem. Now excel waits

until I push the OK
button, but I would like to enter another value in my

cell, and THEN click
the OK button.

How can this be done ?


thx

Ward
.

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
Interacting with 2 different excel files Trups Excel Discussion (Misc queries) 0 August 9th 07 04:52 AM
Problem interacting between VB.NET and VBA6 with Excel 2003 Nicholas Dreyer Excel Discussion (Misc queries) 0 April 6th 07 04:07 AM
Interacting outside Excel Kevin Excel Programming 1 March 2nd 04 02:38 AM
Interacting with Explorer Tom Ridd Excel Programming 1 January 6th 04 03:33 PM
Resuming code after closing a print preview DarrenW Excel Programming 1 July 21st 03 02:54 PM


All times are GMT +1. The time now is 12:31 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"