![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |