Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default keep form displayed

On my form, users enter data in to text boxes. When they
push the "submit" button, the macro runs a few edits. If
it passes the edits, everything is okay and the form
closes.

If it doesn't pass the edit, I would like the form to stay
visible / open / etc. so the user can enter / correct
data, so it will pass the edits.

However, the form is no longer visible and the user cannot
update the data.

Any suggestions would be appreciated. Thanks for all of
the help with this..............
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default keep form displayed

Hi,

check for occurance of "End" somewhere in the macro text,
Call hide in the Clickevent only if macro was successfull

"JT" wrote:

On my form, users enter data in to text boxes. When they
push the "submit" button, the macro runs a few edits. If
it passes the edits, everything is okay and the form
closes.

If it doesn't pass the edit, I would like the form to stay
visible / open / etc. so the user can enter / correct
data, so it will pass the edits.

However, the form is no longer visible and the user cannot
update the data.

Any suggestions would be appreciated. Thanks for all of
the help with this..............

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default keep form displayed

You must be hiding or unloading the form somewhere. Just find that and
intercept it.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"JT" wrote in message
...
On my form, users enter data in to text boxes. When they
push the "submit" button, the macro runs a few edits. If
it passes the edits, everything is okay and the form
closes.

If it doesn't pass the edit, I would like the form to stay
visible / open / etc. so the user can enter / correct
data, so it will pass the edits.

However, the form is no longer visible and the user cannot
update the data.

Any suggestions would be appreciated. Thanks for all of
the help with this..............



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
Using a template form, advance a form number everytime you open ShoDan Excel Discussion (Misc queries) 1 January 31st 08 01:34 PM
format data displayed on Excel data entry form Bob, too Setting up and Configuration of Excel 0 May 19th 05 08:26 PM
Help! Animated gif-image in form does not show animation when form loaded JoCa Excel Programming 4 September 23rd 04 07:43 PM
Is it possible to open the VBA form with a link in a sheet and to pass variable from a cell to the VBA form? Daniel[_14_] Excel Programming 1 August 29th 04 01:20 PM


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