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

How do you write a macro to automatically import and map a calenda



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 27th 07, 11:50 PM posted to microsoft.public.outlook.program_vba
Dave L
external usenet poster
 
Posts: 2
Default How do you write a macro to automatically import and map a calenda

I have a .csv file that gets generated each day that i want to import into a
shared calendar on the network (not my default calendar). How do i write a
macro that will import the calendar to the shared calendar and map the
fields? It would also need to replace existing appoinments instead of adding
duplicates. The .csv will always have the same name, location and layout. Any
ideas would be appreciated.
Ads
  #2  
Old August 4th 07, 03:23 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How do you write a macro to automatically import and map a calenda

The samples at http://www.outlookcode.com/article.aspx?ID=23 should get you started. As for replacing existing appointments, you'll have to decide what criteria define a duplicate and use those in a MAPIFolder.Items.Find search.

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


"Dave L" wrote in message ...
I have a .csv file that gets generated each day that i want to import into a
shared calendar on the network (not my default calendar). How do i write a
macro that will import the calendar to the shared calendar and map the
fields? It would also need to replace existing appoinments instead of adding
duplicates. The .csv will always have the same name, location and layout. Any
ideas would be appreciated.

  #3  
Old September 25th 07, 09:00 PM posted to microsoft.public.outlook.program_vba
Santhosh
external usenet poster
 
Posts: 2
Default How do you write a macro to automatically import and map a calenda

Hi Dave,

I have the exact requirement as you, importing from a CSV file, did you had
any sucess automating the same? I have some knowledge in scripting, pls share
if u made the code, mail me to coolsanthosh82 AT hotmail.com

thanks

"Dave L" wrote:

I have a .csv file that gets generated each day that i want to import into a
shared calendar on the network (not my default calendar). How do i write a
macro that will import the calendar to the shared calendar and map the
fields? It would also need to replace existing appoinments instead of adding
duplicates. The .csv will always have the same name, location and layout. Any
ideas would be appreciated.

  #4  
Old September 25th 07, 09:02 PM posted to microsoft.public.outlook.program_vba
Santhosh
external usenet poster
 
Posts: 2
Default How do you write a macro to automatically import and map a calenda

you may also leave the code in this forum, so that others can benfit from you
work

"Dave L" wrote:

I have a .csv file that gets generated each day that i want to import into a
shared calendar on the network (not my default calendar). How do i write a
macro that will import the calendar to the shared calendar and map the
fields? It would also need to replace existing appoinments instead of adding
duplicates. The .csv will always have the same name, location and layout. Any
ideas would be appreciated.

  #5  
Old September 30th 07, 02:02 AM posted to microsoft.public.outlook.program_vba
EricG- NJ
external usenet poster
 
Posts: 1
Default How do you write a macro to automatically import and map a cal

I, too, scoured my resources for an easy way to do this. My solution was a
little different. I used a keyboard/mouse automatino tool. In EXCEL there
is a recorder that will record our actions then let us edit and replay them.
This tool doesn't appear to have a recorder but I really only needed to
execute a few commands (File/import/from external program .. etc)

The tool I used to AUTOIT and doctored up their NOTEPAD example. It even
allows me to compilet he script into a small executable so I can create the
calendar entry anywhere and could edit the macro to start outlook/ open the
calendar and complete the import of one or more entries.

It's just a thot !!


"Santhosh" wrote:

you may also leave the code in this forum, so that others can benfit from you
work

"Dave L" wrote:

I have a .csv file that gets generated each day that i want to import into a
shared calendar on the network (not my default calendar). How do i write a
macro that will import the calendar to the shared calendar and map the
fields? It would also need to replace existing appoinments instead of adding
duplicates. The .csv will always have the same name, location and layout. Any
ideas would be appreciated.

 




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
How can I automatically copy entries into multiple Outlook calenda Frank A. Outlook - Calandaring 1 June 6th 07 06:32 PM
automatically journalling for new contacts on write /save of contact MIchael Outlook and VBA 5 March 26th 07 10:43 PM
write macro for toolbar? Penny Miller Outlook - Using Forms 11 December 21st 06 07:33 PM
$$ looking for someone to write a macro for me [email protected] Outlook and VBA 0 March 16th 06 12:24 AM
AUTOMATICALLY ALLOWS EACH ACCOUNT USER TO WRITE AN EMAIL WITH THE. Rita Outlook - General Queries 6 March 13th 06 07:51 PM


All times are GMT +1. The time now is 08:31 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.