LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default AfterUpdate Event not Running

Thanks... I did remove "If frmName < ""frmPhysical Then Exit Sub", now
everything works fine.
Thanks again!
Craig

"Leith Ross" wrote
in message ...

Hello Craig,

Since you are not calling Update_Inventory from any of the other Forms,
you can remove "If frmName < ""frmPhysical Then Exit Sub" from the
code. I added this as a troubleshooting aid iin case Update_Inventory
were being called from other Forms.

I had asssumed the TextBoxes were directly on the Form. The Parent
property returns the object that holds the TextBox. Since it is a
Frame, the code returns the Frame name, not the Form name. Remove the
If statement and it should work.

The *After_Update* event fires once the user presses enter, or clciks
on another control. If your code is still returning the correct result,
there is a problem somewhere else in the program.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile:
http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=482515



 
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
Workbook_BeforeClose change event not running correctly Peter Rooney Excel Programming 4 August 5th 05 04:26 PM
AfterUpdate bforster1[_26_] Excel Programming 1 November 6th 04 07:16 PM
VBA - AfterUpdate TextBox bforster1[_23_] Excel Programming 0 November 5th 04 08:09 PM
Running Event Procedure When Cell Updated on Excel Worksheet Tom Ogilvy Excel Programming 0 August 19th 04 03:38 PM
Running command button click event code Marishah Warren Excel Programming 1 December 31st 03 07:53 AM


All times are GMT +1. The time now is 12:29 PM.

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

About Us

"It's about Microsoft Excel"