Message For Allen/"aldeb": Outlook Calendar

Feb 1, 2005

Hi. I have managed to create a command button on my form to send a date field on the form to Outlook as a task. I know this isn't exactly what you wanted to do, but you may be able to tailor the code to suit.

Private Sub cmdOutlookRem_Click()
Dim OutlookApp As Outlook.Application
Dim OutlookTask As Outlook.TaskItem
Set OutlookApp = CreateObject("Outlook.Application")
Set OutlookTask = OutlookApp.CreateItem(olTaskItem)
With OutlookTask
.Subject = "Contact " & Me!Forename & " " & Me!Surname & ", " & Me!CompanyName
.Body = "Company Tel No: " & Me!CoTelNo & ", " & "Direct Line: " & Me!DirectLineinCo & ", " & "Mobile: " & Me!MobileNo
.ReminderSet = True
.ReminderTime = DateAdd("n", 2, Me!DateNextContact)
'Remind 2 minutes from now.
.DueDate = DateAdd("n", 5, Me!DateNextContact)
'Due 5 minutes from now.
.StartDate = DateAdd("n", 2, Me!DateNextContact)
.ReminderPlaySound = True
.ReminderSoundFile = "C:WindowsMediaDing.wav" 'Modify path.
.Save
End With
End Sub

View Replies


ADVERTISEMENT

Allen Browne Popup Calendar Question

Sep 12, 2005

I'm *finally* getting around to getting rid of the ActiveX calendar control in my application. After doing battle with references on other users' systems, the ocx references have finally lost the plot and don't work.

I've downloaded Allen's popup calendar but have a problem since the app uses text boxes, and I need to add the selected date into a table with date fields. Also, instead of clicking an icon (where his instructions say to put "=CalendarFor(SaleDate],...", in my previous code I just call the calendar form from the on click event when the user clicks the date field.

I've tried modifying Allen's code to no avail, and I'm afraid of really cocking things up in all my forms, tables, reports, etc. if I change all may table's date fields to text.

Could someone help me modify the code from text fields to dates? Alternatively, is there any other calendar popup out there that would suit? (I've looked at all of them in the links but haven't found anything.)

Thank you,
Christine

View 14 Replies View Related

Outlook Calendar And MS Access

Mar 19, 2006

Hi everyone,

I wanted to know if there's a way to implement a calendar in MS Access? In other words, I'd like to create a calendar that act the same way as the Outlook calendar? At first I tought about the calendar control 8.0, but we can't write anything in a square date of the calendar. So , I'm out of idea.

Thank you in advance for your suggestions!

View 3 Replies View Related

Integrating A Calendar (Outlook) With MS Access?

Mar 10, 2006

Is it possible?

My departments wants a calendar that reminds us when a certain date is approaching.

MS Outlook has that calendar.

Can we integrate them somehow? Or do I have to write something in Access(is it even possible).

Or do I just have to look at different software out there?

View 1 Replies View Related

Implementing Calendar Functionality With Outlook?

Feb 6, 2014

A client I am working for wants a calendar to interact with their database forms, I am thinking outlook would be the best bet, as a table and form to make my own in access would be overly complicated. Is there any way to embed a calendar from outlook within an access form?

View 1 Replies View Related

Populate Outlook Calendar From Access

Jul 10, 2013

I've created a db for a group working on the repairs needed after Super storm Sandy. In the db I have captured arrival and departure dates of work teams coming in to support. How I can populate an Outlook calendar from the db table?

View 5 Replies View Related

Outlook Or Similar Calendar Linked To Queries

Sep 11, 2005

Good Evening All,

I want a cheep calendar that links to queries and can input data as well as display it. It has been on my wish list for 7 or 8 years.

If anyone know how to make one or knows where to buy a cheep one I would really appreciate it.

View 5 Replies View Related

Entering A Date From Access To Outlook Calendar

Mar 8, 2007

I have developed an Access database which keeps track of items we have received. What I want to do is enter a date in a field and then by clicking a button that date and the name of the item gets enetered into my Outlook calendar so that it will pop up a reminder on that date.
I have no idea if/how this can be done. Any ideas or examples very much appreciated.

View 2 Replies View Related

Linking Access Table To Outlook Calendar

Oct 26, 2004

Hello Guys,

I'm totaly new to access and outlook applications etc..
What I'm trying to do is link an access table to my calendar in outlook. I can do it but there is one problem it is not importing all the fields. But when I do an export from outlook to access database file all the fields are there.

Can someone help me with this issue?

P.S. I'm using outlook 2003 and connecting to exchange 2002.

Thank you for all the help I can get

View 2 Replies View Related

Modules & VBA :: Outlook Calendar Category Colour

May 1, 2014

I have been using the below code for a number of years to send reminders to Outlook and colour them red (my category colour for certain items).

I've been asked to roll out this code to all members of my dept but the category for other people assigned to the red colour is different to mine.

Is there a way to colour the item using the colour name rather than the category name?

Set OutlookApt = Outlook.CreateItem(olAppointmentItem)
With OutlookApt
.Subject = MailSubject
.start = Dte
.End = DateAdd("h", 1, Dte)

[Code] ....

View 3 Replies View Related

Modules & VBA :: Appointment In Non Default Outlook Calendar

Dec 3, 2013

I use the code below which creates an appointment in Outlook default calendar. I need to add a few lines to create the appointment to an alternative calendar in the same pst file. I need to choose between three calendars in which to create the appointment and plan to select the calendar name from a list on the form.

Dim objOutlook As Outlook.Application
Dim objAppt As Outlook.AppointmentItem
Set objOutlook = CreateObject("Outlook.Application")
Set objAppt = objOutlook.CreateItem(olAppointmentItem)

[code]....

View 3 Replies View Related

General :: Add Outlook Entry To Non Default Calendar

May 2, 2014

I have a folder under the default on in outlook named ANOTHER FOLDER. All I am trying to do is add the blasted entry to this folder. At the moment though it is adding the information to the default calendar and not ANOTHER FOLDER. I'm just testing at the moment but I have tried all manner of combination but no dice.

Code:

'Error 429 occurs with GetObject if Outlook is not running.
On Error Resume Next
Set objOutlook = GetObject(, "Outlook.Application")
If Err.Number = 429 Then 'Outlook is NOT running.

[code]...

View 11 Replies View Related

Modules & VBA :: Add Appointment To Shared Outlook Calendar Using Access

Aug 19, 2014

I am very new to VBA. I found some code that will allow me to add an appointment to my personal calendar with using access VBA and it works great. It also allows me to add an appointment to another calendar created under "My Calendars" folder.

I wanted to know how to change the code in order to add the appointment to the SHARED calendar instead.

The main folder is called "Shared Calendars" which is at the same level as the default "My Calendars" folder. Under the "Shared Calendars" folder the calendar is called "Tester".

Here is the code im using at the moment: I believe I have have to change the line of code that is in red but I don't know how.

Private Sub cmdAddAppt_Click()
On Error GoTo cmdAddAppt_Err
Dim outobj As Outlook.Application
Dim outappt As Outlook.AppointmentItem
Dim olNS As Outlook.NameSpace

[Code] ....

View 1 Replies View Related

General :: No Start Or End Time In Linked Table Using Outlook Calendar

Aug 5, 2015

I created a call logging/work tracking type Database using SharePoint 2007 lists for the backend and Access 2013 front end for about 60 users and it has been running smoothly for around two years .

We use a shared outlook calendar and I want to be able to pull meetings & appointment information into the database from the calendar so I can assign the meetings out to specific people and keep of a record that they where given the request to attend. I was able to use the import outlook folder to create a linked table and it has lots of great information from the calendar apart from the two most important things you need in a calendar Start_time & End_Time . Is there something I'm missing in regards to these two fields? I assume I'm doing something wrong but I can't figure out what, nor did I have much luck with the Search function on here or google.

This is the list of field names it does import(everything apart from the meeting time and is it a recurring appointment)
Importance
Icon
Priority
Subject
From
Message To Me
Message CC to Me
Sender Name
CC
To
Received
Message Size
Contents
Created
Modified
Subject Prefix
Has Attachments
Normalized Subject
Object Type
Content Unread

View 1 Replies View Related

Modules & VBA :: How To Get Access To Make Appointment To A Specific Calendar On Outlook

Dec 4, 2014

I have been able to successfully set up code to be able to add appointments to microsoft outlook based on data within a few forms that I have. My question is this however, how do I get access to make that appointment to a specific calendar on outlook. This calendar is a shared calendar. Currently, access is just adding the appointments to "My Calendar" and I could like it to place the appointment on "HVCalendar". a version of the code I found online is listed below:

Private Sub btnaddappttooutlook_Click()
'On Error GoTo ErrHandle

Dim olNS As Object
Dim olApptFldr As Object

' Save the Current Record
If Me.Dirty Then Me.Dirty = False

[code]...

View 1 Replies View Related

Linking Outlook Calendar To MS Access - Appointment / Meeting Date And Time

May 30, 2013

I have linked a Shared Calendar from MS Outlook in MS Access. The fields that I need which are Appointment/Meeting Date and Time are not there, only creation date/time. Is there anyway for me to get the Appointment/Meeting Date and Time from Outlook into the table?

Windows 7
Office 2010

View 1 Replies View Related

Graph In Outlook Message

Jan 31, 2008

Is it possible to put a graph in an graph in an outlook message? I realize I will need to use an outlook object but not sure how to start off - ?

View 3 Replies View Related

General :: Syncing Table Holding Reservation Dates To MS Outlook Calendar Automatically

Oct 10, 2014

I have been looking for a way to sync a table holding reservation dates to MS outlook calendar automatically when dates are inserted in the table.

View 2 Replies View Related

VBA - If Event Is True Then Outlook Message

Sep 12, 2014

I am trying to "silently" send an email if for instance an event is trigger. In this case, if the amount of X is less to the amount of Y then send an email to remind me to buy more from product X.

I will be using Outlook for this matter.

The .Body should read something like "Your reserves from "Product X" are reaching its minimum. Please buy more of it"...

View 4 Replies View Related

General :: Calendar Synchronization - Access 2010 To Outlook 2010

Mar 23, 2015

I wish to work in Access 2010 with a subset of my Outlook 2010 contacts (all desktop- no network barriers), so I am exploring the Desktop Contacts DB found in Microsoft's templates. It passes contact data back and forth using the standard macros, but I wish to add more fields from Outlook. It seems I need to find the code associated with the macro. I believe I can solve the problem using a Linked table, but am wondering if there is another solution?

Calendar synchronization is another issue. Linking gets me to the Archive Calendars, but not the Current one in Outlook which is what I want.

View 2 Replies View Related

Outlook

Dec 16, 2005

Can we design our own form in the MS Access?

And then connect to Outlook?

Because I go to outlook, it doesn't have connection option to MS Access,
whereas MS Access has it, but the we cannot custom the field or design.

Thanks.

View 1 Replies View Related

Outlook

Dec 16, 2005

Can we design our own form in the MS Access?

And then connect to Outlook?

Because I go to outlook, it doesn't have connection option to MS Access, whereas MS Access has it, but the we cannot customize the field or design.

View 2 Replies View Related

Outlook

Jan 5, 2006

I have a database that keeps track of client information and future apointments. I would love to hav this data merge with outlook to go directly into my calendar. Is this possible and how do I do it? :cool:

View 1 Replies View Related

Calendar

Jul 22, 2006

Hy!

I've putted on calendar on an database but by example when I press first of June how can I make it recognise which week day is it?

Thanks

View 1 Replies View Related

Calendar

Jan 2, 2007

Hi All!
I have Access Calendar on my form. I named it txttoday. Which code and where should I put the code in order when I open my form I want the date always be on todays date. I guess it should be on Open and something like txttoday = now()....

Please advice,
B

View 2 Replies View Related

Calendar

Mar 18, 2008

Using an activeX calendar. I have 2 questions.

1) Is it possible to have certain dates always highlighted in the calendar so the user can clearly see these dates. What I'm looking for specifically is to have each second thursday always highlighted with another color.

2) Using a seperate form and calendar than the one above, how would I go about using a calendar to search for old records (apply a query to it maybe, but how would I do that?) so that when I click on a date, the records for that specific date are opened.

I really appreciate any help that anyone can offer with either question. If you leave an answer in code, can you please clearly define what you named each item that I may need to replace, i.e. Calendar, Date, etc., because I'm not incredibly familar with using code.

Thanks in advance for the help, I will be able to respond quickly if you have any questions or if I didn't explain anything clearly.

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved