?
Solved

I need a macro to copy a shared calendar to my inbox.

Posted on 2008-11-01
9
Medium Priority
?
380 Views
Last Modified: 2010-08-05
I know how to do this using the menus but am trying to write an autorun code to perform this monthly.
I have a few users that have shared their calendars with me.
I am looking for some VB macro code  to copy them to my inbox.
Eventually I will export them to Excel and calculate event durations.
0
Comment
Question by:Mswetsky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 22861283
Hi, Mswetsky.

What do you mean by "autorun code"?  
0
 
LVL 1

Author Comment

by:Mswetsky
ID: 22868186
I am going to create a batch file so I can open MS outlook and automatically run a macro.
Something like the following would run macro2.
"C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"  /autorun macro2

I would set the batch to run monthly and set up another app to calculate and group the totals following it.
0
 
LVL 76

Expert Comment

by:David Lee
ID: 22872910
Got it.  Does the script need to delete the calendar if already exists in your mailbox?
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 1

Author Comment

by:Mswetsky
ID: 22876267
No I would hope that it was dynamic and showed continuing activities.
Do you know If I copy the shared calendar to my inbox if it is a snapshot or a continued shared updated object?
0
 
LVL 76

Expert Comment

by:David Lee
ID: 22877203
Snapshot.
0
 
LVL 1

Author Comment

by:Mswetsky
ID: 22879474
OK, Darn,
then I will need to delete old and copy new ones
0
 
LVL 1

Author Comment

by:Mswetsky
ID: 22879551
Hi BDF,
WIll the code you provided in question
        Q_23868129.html?cid=748#a22877192
export the shared calendar or does it need to be copied to my inbox first?

It looks like it exports the named calendar.
0
 
LVL 76

Accepted Solution

by:
David Lee earned 1000 total points
ID: 22879666
You don't have to copy the calendar to access or read it though.  You can do both while leaving it where it is.  The only reason I can think of to copy the calendar to your mailbox is if you need access to it while not connected to your mail server.  

The code I provided in the other question will export any calendar.  You just need to know the path to it.  Or, I can modify the code so you can select, i.e. click on, the calendar.  The code would then run against whatever calendar was selected without modification.  That's the best solution if you want to run it against a number of different calendars.
0
 
LVL 1

Author Comment

by:Mswetsky
ID: 22879722
I will be getting the calendars shared from a specific group of people so If I can name them and export them that is great. A 2 for 1 solution.  :-)
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question