![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I want to doubleclick a name in a calender in outlook and - via an eventhandler - send this name to Access where the name is seached and found together with the persons other data in access. Is that possible? Maybee a link to a codesnippet in VBA that do the trick? Or maybee a good book telling me how outlook and access can work together? Thank you Lars - DK EggHeadCafe - Software Developer Portal of Choice Visual Studio.NET 2005: System.Net Mail Basics http://www.eggheadcafe.com/tutorials...et-2005-s.aspx |
Ads |
#2
|
|||
|
|||
![]() You wouldn't double click a name but an AppointmentItem in a calendar, which triggers the NewInspector event. That would be where you read the item's properties and connect to your database. For the available properties see the object browser (f2), select the AppointmentItem in the left pane. For connecting to an Access database I'd use the 'Microsoft ActiveX Data Objects x Library'. Here's an examle for how to connect to the db: http://www.vboffice.net/sample.html?...7&cmd=showitem For the other stuff see an ADO help file: Look for how to use the Recordset object, and how to use the SQL statement 'Select'. -- Best regards Michael Bauer - MVP Outlook : Outlook Categories? Category Manager Is Your Tool : VBOffice Reporter for Data Analysis & Reporting : http://www.vboffice.net/product.html?pub=6&lang=en Am Wed, 04 Nov 2009 01:09:28 -0800 schrieb Lars Frederiksen: Hi, I want to doubleclick a name in a calender in outlook and - via an eventhandler - send this name to Access where the name is seached and found together with the persons other data in access. Is that possible? Maybee a link to a codesnippet in VBA that do the trick? Or maybee a good book telling me how outlook and access can work together? Thank you Lars - DK EggHeadCafe - Software Developer Portal of Choice Visual Studio.NET 2005: System.Net Mail Basics http://www.eggheadcafe.com/tutorials...et-2005-s.aspx |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outllok 2007 - Data file not closed properly!!!! | Stan Kay | Outlook - General Queries | 33 | April 25th 09 10:45 PM |
capturing data on sending emails | mdlister | Outlook and VBA | 4 | November 5th 08 03:47 PM |
Trying to acces old .pst, getting Accses Denied | bman342 | Outlook - Installation | 1 | April 26th 08 03:46 PM |
Sending Distribution List Data | jazzd | Outlook - Using Contacts | 6 | April 22nd 08 09:08 PM |
Sending Multiple Meeting Options to Outllok users | Nphil | Outlook - Calandaring | 1 | February 26th 08 10:42 PM |