A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

automate export agenda for off-line use



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 19th 07, 02:29 PM posted to microsoft.public.outlook.program_vba
Bonno Bloksma
external usenet poster
 
Posts: 1
Default automate export agenda for off-line use

Hi,

We do NOT have an Exchange server.
I have a user with a laptop and office 2003. She manages het own agenda in
Outlook 2003.
We have some other users that need to look into her agenda and they still
use outlook 2000.

Manually I can have her export het agenda to a Outlook 2000 PST file on the
server. The other users can then open the PST file.
This has been working for some time but.... I want to automate the export
process via a button and a VBA script.

As Outlook cannot record a macro and it has way to many
options/functions..... :-( where do I begin?
I know about VBA programming but I have no idea how to specify the following
sequence (which the user does manually each day')
In Outlook, File, Import / Export, to file, to PST file.
Select Agenda folder
Select file (for instance S:\Agendas\User1\Agenda.pst)
Set proper option for duplicate items
Export
It's probably just one function with lots of paramaters but which?

Also, how do I make sure it is exported to an Outlook 2000 pst file,
probably by writing to an existing Outlook 2000 pst file right?

Bonno


Ads
  #2  
Old December 19th 07, 11:48 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default automate export agenda for off-line use

where do I begin?

Start with the basics at http://outlookcode.com/article.aspx?id=49 and then start exploring the Outlook object model using the object browser (F2 in VBA) and the many samples available on the Internet.

I have no idea how to specify the following
sequence (which the user does manually each day')
It's probably just one function with lots of paramaters but which?


Forget about automating the built-in export feature. It is not exposed to programmers. Instead, you would need to write your own export macro, such as the example at http://www.outlookcode.com/codedetail.aspx?id=646

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Bonno Bloksma" wrote in message ...
Hi,

We do NOT have an Exchange server.
I have a user with a laptop and office 2003. She manages het own agenda in
Outlook 2003.
We have some other users that need to look into her agenda and they still
use outlook 2000.

Manually I can have her export het agenda to a Outlook 2000 PST file on the
server. The other users can then open the PST file.
This has been working for some time but.... I want to automate the export
process via a button and a VBA script.

As Outlook cannot record a macro and it has way to many
options/functions..... :-( where do I begin?
I know about VBA programming but I have no idea how to specify the following
sequence (which the user does manually each day')
In Outlook, File, Import / Export, to file, to PST file.
Select Agenda folder
Select file (for instance S:\Agendas\User1\Agenda.pst)
Set proper option for duplicate items
Export
It's probably just one function with lots of paramaters but which?

Also, how do I make sure it is exported to an Outlook 2000 pst file,
probably by writing to an existing Outlook 2000 pst file right?

Bonno


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automate Calendar Export James Mullan Outlook and VBA 0 November 15th 07 11:43 AM
How to automate export of calendar data on a schedule Samita Outlook - Calandaring 0 January 30th 07 07:01 PM
Central Agenda Wouter Outlook - Calandaring 0 January 11th 07 03:35 PM
Automate export of Appointment Insert/Update/Delete infomation to the database [email protected] Add-ins for Outlook 2 March 14th 06 02:59 AM
outlook agenda & web Nootje Outlook - Calandaring 0 March 13th 06 02:55 PM


All times are GMT +1. The time now is 10:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.