Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Verify the format of the content of a textbox included in a frame

I am using a UserForm to introduce data in an excel spreadsheet. I grouped
some TextBox into Frames in order to help the user to identify the data
required. Most of this data is numeric. I been trying to use the exit event
in order to validate the format of the data introduce, but when the textbox
is in a frame, the event seems not to be recognize. Is there a way that
allows to make the validation without having to eliminate the frame?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Verify the format of the content of a textbox included in a frame

Edgar,

Edgar wrote:
I am using a UserForm to introduce data in an excel spreadsheet. I
grouped some TextBox into Frames in order to help the user to
identify the data required. Most of this data is numeric. I been
trying to use the exit event in order to validate the format of the
data introduce, but when the textbox is in a frame, the event seems
not to be recognize. Is there a way that allows to make the
validation without having to eliminate the frame?


I would suggest using the BeforeUpdate event to handle this. It will only
fire when the data has changed, and it should fire regardless of the parent
container (I just verified that it does work with Frame objects).

--
Regards,

Jake Marx
www.longhead.com


[please keep replies in the newsgroup - email address unmonitored]


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
Dynamically Adding Textbox To Frame sarndt Excel Worksheet Functions 0 March 15th 10 06:19 PM
How to extract text when it's included in the format? gilliam Excel Worksheet Functions 3 October 13th 08 05:12 PM
Verify Textbox Information is a Number and Not Text pallaver Excel Discussion (Misc queries) 6 July 17th 08 09:00 AM
Excel VBA - Cursor disappears when validating content of a TextBox lonewolfbr Excel Programming 0 September 16th 04 09:49 PM
Verify Data Format via VB Bob Phillips[_6_] Excel Programming 1 April 27th 04 08:26 PM


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