Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Question number Two

Hello all,

here is stage 2 of the complex userform!
(WARNING this one is tough!!)

i have a userform that has a combobox at the top of the
page, this combobox can select a date that appears within
the table already or it can have a new date typed in.

**update**
if the combobox has had a date selected then i would like
the following to be updated....
1) 6 textboxes along the left hand side of the userform
that contain times need to be found from the sheet ( these
are found in column "AY" )
** the condition so far is that the time "AY" musat be
from rows that contain the date "AX" from combobox1**
one time is found in 2 rows therefore it only needs to be
input once into each textbox EVEN THOUGH there are two
records that contain this.

**new date**
if a new date is typed in then the textboxes can stay the
same and allow the user to input there specified time slots
((NO ACTION NEEDS TO BE TAKEN ON NEW DATE))

thank you,

Robert Couchman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Question number Two

Robert,
Assuming your cbo.style = 0 (frmStyledropDownCombo), the change event will
fire when a new date is entered, whereas the click event will if something
is selected from the list.
Apply you logic to the suitable event, using something like VLOOKUP I would
guess.

NickHK


"Robert Couchman" wrote in message
...
Hello all,

here is stage 2 of the complex userform!
(WARNING this one is tough!!)

i have a userform that has a combobox at the top of the
page, this combobox can select a date that appears within
the table already or it can have a new date typed in.

**update**
if the combobox has had a date selected then i would like
the following to be updated....
1) 6 textboxes along the left hand side of the userform
that contain times need to be found from the sheet ( these
are found in column "AY" )
** the condition so far is that the time "AY" musat be
from rows that contain the date "AX" from combobox1**
one time is found in 2 rows therefore it only needs to be
input once into each textbox EVEN THOUGH there are two
records that contain this.

**new date**
if a new date is typed in then the textboxes can stay the
same and allow the user to input there specified time slots
((NO ACTION NEEDS TO BE TAKEN ON NEW DATE))

thank you,

Robert Couchman



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
Number Format question darby Excel Discussion (Misc queries) 5 August 26th 09 02:15 PM
Number format question BobK Excel Discussion (Misc queries) 2 October 24th 08 08:12 PM
Number Question Rebecca New Users to Excel 4 February 28th 08 11:57 AM
MS Excel number question Redsphynx Excel Discussion (Misc queries) 2 February 7th 08 01:06 AM
Number formatting question Robbie in Houston Excel Worksheet Functions 8 March 15th 05 03:19 PM


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