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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

See these links:

The vba code used in the 2003 examples should be very similar for Ms Office 2010
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?

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:    
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

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
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.


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.
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

From novice to tech pro — start learning today.