LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Worksheet not updating when execute mytxt.value line in VBA

I have a userform with textboxes linked to worksheet ranges via the
control source property
When the AfterUpdate event fires on a textbox it calls a validation
routine which resets the textboxes value to 0 if the user has entered
non numeric data.

...
..
MyTextbox.Value = 0



While the textbox on the userfom now shows 0 the corresponding cell in
the worksheet is still displaying the user entered non numeic data
instead of the 0

Why is the control source not pushing the new value 0 thru to the
worksheet

Many Thanks

Tony Miller
 
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
execute macro from command line swansong Excel Programming 5 April 20th 07 12:56 AM
Execute a macro from command line: possible or not ? Drinkmilk Excel Programming 5 April 24th 06 11:48 AM
how do you execute single line of code? honestlylion Excel Discussion (Misc queries) 2 February 24th 06 03:35 PM
Forcing A Line To Execute Prior To Continuing [email protected] Excel Programming 0 March 10th 05 02:04 PM
Execute a command line app but i want a string returned. dei Excel Programming 0 October 23rd 03 08:18 AM


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