VBA - how to edit the ms/outlook Task & Calendar

I have to enter ms/outlook calentar & task elements from a Table currently in ms/access.
How do I do it from VBA?
João serras-pereiraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

puppydogbuddyCommented:
See these links:
     http://msdn.microsoft.com/en-us/library/aa159619(v=office.11).aspx
     http://www.ehow.com/how_7243131_outlook-calendar-access.html

The vba code used in the 2003 examples should be very similar for Ms Office 2010
0
João serras-pereiraAuthor Commented:
Many thanks. I went through the two alternatives and, by far, the ehow link suggestion really looks much simpler and perfect (option 3, link table).
It dos not, however, show ll fiels, namely fields such as StarDate EndDate, Location, Reminder.

I can I get them?

0
puppydogbuddyCommented:
You can determine how to reference the fields you want by familiarizing yourself with the outlook object model.  In fact you may be able to link directly to the model by using the link provided at the bottom of the first page of the second link below:    
            http://msdn.microsoft.com/en-us/library/ms268893.aspx
            http://msdn.microsoft.com/en-us/library/ff866465.aspx
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

João serras-pereiraAuthor Commented:
Ok. Ill take a good look at it.
from the first quick assessment I have made it really looks complicated. I just wanted to update elements from a ms/access table set I have (actually simple things such as deadlines / milestones /task completions /alerts) and, maybe vice-versa.

So the fields I am willing to use are like "all day events" for which I can use the Subject field, the date ans some notes. I reckon that's It's a bit stupid that the ehow solution does not provide for ALL calendar/task tabels.
btw when going to http://msdn.microsoft.com/en-us/library/ff866465.aspx  I could not actually link to an outlook object model; it goes to the beginning.

But I will follow your suggestion of learning a bit more about the outlook model itself
0
puppydogbuddyCommented:
I am surprised that the table method suggested by the eHow option 3 did not provide a more complete reference to the outlook object model.

The link below should make things easier for you.  It has two vba code snippets, each of which illustrate  a different method of updating outlook from access......(1) updating outlook from an ms access form, and (2) updating outlook from a general ms access table.   In addition, the examples use several of the objects that you want to use.

          http://www.access-programmers.co.uk/forums/showthread.php?t=31517
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
João serras-pereiraAuthor Commented:
Many thanks.

I went through it and I think I can understand what's being done..
I also downloaded GeniusConnect and gave it a try but it did not work out - the setting up procedure did not function
As I'll need some time to include the suggested code in my code I'll close this question right now as it is a bit useless to keep it open. BTW thanks for the tip for using the last link. I have registered to them as well.

I just feel totally frustrated because the ehow option 3 suggestion would be the natural thing to do. It looks like someone at the Microsoft R&D turned on a "complicator": why should they provide an easy solution if they can provide a complicate one?

once again many thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.