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: 1
Default ? about a userform


Quick question for you guys...I have a userform, that has 2 textboxes on
it...the user is going to enter a date into both boxes. I need help
creating a macro that will connect to a database, and query the db for
anything btwn those dates in the specified table. I don't need to copy
this info, I just need to temporarily isolate it from the rest. What
i'm needing from that data, is to then have a label on the userform
that is going to average the scores from those dates.

IE.
textbox1.value = 10/01/2001
textbox2.value = 10/30/2001

Using these dates, query the table 'Results' for any rows that are
within this date range. Then on the userform, I need label1.caption =
'the average of all entries in "Q1" of Table "Results"...'

anyone have any idea's of how to do this? I really appreciate the help
:)


--
dok112
------------------------------------------------------------------------
dok112's Profile: http://www.excelforum.com/member.php...o&userid=10581
View this thread: http://www.excelforum.com/showthread...hreadid=478130

 
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
Userform from a Userform Problem Adrian Excel Programming 1 October 12th 05 04:57 PM
Looping procedure calls userform; how to exit loop (via userform button)? KR Excel Programming 6 July 27th 05 12:57 PM
Activating userform and filling it with data form row where userform is activate Marthijn Beusekom via OfficeKB.com[_2_] Excel Programming 3 May 6th 05 05:44 PM
Access from add_in userform to main template userform.... Ajit Excel Programming 1 November 18th 04 05:15 PM
Linking userform to userform in Excel 2003 missmelis01 Excel Programming 2 August 27th 04 08:07 PM


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