PC Review


Reply
 
 
Bigjon
Guest
Posts: n/a
 
      20th Mar 2009
I have several sheet with combo boxes that contain data such as First aid,
Vehicle Damage Etc. How do I count the respnses on a summary sheet? Also when
trying to get a date drop down I get the number in the combo box how do I get
it to display MMDDYYYY?




 
Reply With Quote
 
 
 
 
Per Jessen
Guest
Posts: n/a
 
      20th Mar 2009
Hi

Use the worksheet function CountA to count responses with responses in
column B:

Responses=Worksheetfunction.CountA(sheets("SummarySheet").Range("B2:B1000"))

Re: The date drop down it would be eaysier to guide you if you showed the
code you are trying to use. If the cell or variable is holding a valid date
it should show as a date in your combobox. Look at this:

Private Sub Worksheet_Activate()
NextDay = Date + 1
Me.ComboBox1.AddItem Date
Me.ComboBox1.AddItem NextDay
Me.ComboBox1.AddItem Range("A6").Value
Me.ComboBox1.AddItem Format(Range("A7").Value, "mmddyyyy")
End Sub

Regards,
Per

"Bigjon" <(E-Mail Removed)> skrev i meddelelsen
newsFFFE536-EE46-46B2-969B-(E-Mail Removed)...
>I have several sheet with combo boxes that contain data such as First aid,
> Vehicle Damage Etc. How do I count the respnses on a summary sheet? Also
> when
> trying to get a date drop down I get the number in the combo box how do I
> get
> it to display MMDDYYYY?
>
>
>
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
COMBOBOXES Zigball Microsoft Excel Programming 1 19th Dec 2006 01:10 AM
3 COMBOBOXES =?Utf-8?B?c21pbGV5?= Microsoft Excel Crashes 0 10th Oct 2005 05:12 PM
Comboboxes =?Utf-8?B?RGFycmVu?= Microsoft Excel Programming 1 23rd Jan 2005 05:35 PM
ComboBoxes in vb.net Ryan McConnell Microsoft VB .NET 2 25th Feb 2004 08:34 AM
ComboBoxes =?Utf-8?B?QmlsbA==?= Microsoft VB .NET 0 20th Feb 2004 03:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:32 PM.