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: 5
Default Userform Control validity check

G'day there One & All,

I've Googled for a resolution to my issue, but without success. Others
asking about similar problems either have no response, or answers that
don't help me at all :(

I have a userform with a combobox; 2 textboxes; and 2 multiselect
listboxes. Altogether with some other bits & pieces it constitutes the
data entry form for a simple Excel database.

To ensure a valid record I require an entry in each of the controls.
When the "Enter Data" control button is clicked I have code which checks
each control for an entry. If any control has no entry, the background
changes to a bright colour & the record is not saved.

All seems to work fine until we come to the listboxes. They are being
cleared when read for the data validation. It makes no difference
whether any field has valid data or not, the listbox entries are cleared
every time (obviously, the other controls have no effect on them).

Is there anyway to make the entries a tad less volatile?

I'm using XL 2002 on XP. I don't recall what we use at work, but it
seems to be fully compatible with XP.

Thanks for reading this far,
Ken McLennan
Qld Australia
 
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
Check the path for validity Souny Excel Programming 4 September 18th 09 01:50 PM
How can I show a validity by a prompted symbol in colour? Maray Excel Worksheet Functions 1 February 3rd 09 10:47 AM
How do I add a control check box to control other checkboxes? JGarland Excel Worksheet Functions 1 September 18th 08 12:26 PM
=VLOOKUP validity Greg H Excel Programming 3 January 22nd 07 12:38 PM
Selecting control on userform with part of control name (set question) Keith Excel Programming 4 January 10th 07 02:24 PM


All times are GMT +1. The time now is 02:13 AM.

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"