Finding out which Control was activated

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: ree32 (ree32_at_hotmail.com)
Date: 10/22/04


Date: 21 Oct 2004 19:55:25 -0700

Say I have function which handles events. Suppose I have 2 calendars
where an a date is elected it activates this function.
Sub calStartSelected(ByVal sender As Object, ByVal e As EventArgs)

Is there anyway using the object sender I can findout which calendar
was selected. Say the names of the calenders are cal1 and cal2.

Thanks



Relevant Pages

  • Re: Public Calendar with sub Calendars
    ... Nothing like this is built into Outlook. ... > My boss would like Our public Calendar to have sub Calendars. ... > Calendars would each be for specific appointment types each. ...
    (microsoft.public.outlook.general)
  • Re: Calendar problem
    ... >> Private Sub Calendar1_Click ... >> Dim date1 As Date ... >> Dim date2 As Date ... >>> I have a dialog box which contains 4 Calendars. ...
    (microsoft.public.excel.programming)
  • RE: Set label colour of another users appointment item.
    ... Ensure that you have Author permissions for your account on the other users' shared calendars. ... > I want to be able to add/edit appointment items in another users calendar. ... Sub SetApptColorLabel(ByVal objAppt As Outlook.AppointmentItem, ... > Appointment Color Label") ...
    (microsoft.public.outlook.program_vba)
  • Public Calendar with sub Calendars
    ... My boss would like Our public Calendar to have sub Calendars. ... Calendars would each be for specific appointment types each. ...
    (microsoft.public.outlook.general)