Solved

Using VBA to Schedule appointments on a public calendar

Posted on 2009-07-06
8
387 Views
Last Modified: 2013-11-28
I have developed an application that is used within our department and have received a request for some additional functionality. The users have a shared calendar on our server that they manually update to schedule workflow tasks. Ideally this could be done automatically. For example, when a shipment date is confirmed, the arrival preparation, arrival date, and follow-up actions would all be scehduled on the public calendar. Is this possible?
0
Comment
Question by:NashVegas
[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
  • 4
  • 4
8 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24787793
"Anything is possible"

The question is how difficult it is to do.

Since you did not post any details on your mysterious "application", it is difficult to say.

Basically you could have a shipment date field in a query.
When this field is populated, the other fields get populated/calculated based on that date. (ShipDate+3, ShipDate-5, ...ect)

So basically you would trigger some code to fire when a new shipment date is entered, it will then create new calendar entries for the other calculated dates.

The difficulty here would be in somehow making the code adapt for changes and/or deletions of the shipment date.

What is your "Specific" question regarding this system?

JeffCoachman
0
 

Author Comment

by:NashVegas
ID: 24787957
Hi Jeff,
Thanks for the response. My question was whether it is possible to update calendar events programmatically on a shared Outlook calendar as opposed to the user's personal Outlook calendar. I apologize if I did not make that clear. I didn't see any point in going into specifics if it turned out not to be possibile. But since you have answered that quesiton (I think) then here are specifics:

ArrivalDate: field on form that when updated triggers code that schedules 3 calendar events:
Event 1: Arrival Date - 2 days;  Subject = "Task 1"
Event 2: Arrival Date + 14 days; Subject = "Task 2"
Event 3: Arrival Date + 56 days; Subject = "Task 3"

Location of calendar (fictitious) "https://email.institution.edu/public/Med%Center/Receiving/?Cmd=contents"
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24791358
Here is the basic query:

Access-EEQ24546736UpdateCalendar.mdb
0
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 

Author Comment

by:NashVegas
ID: 24793723
Thanks, but I already knew how to add and subtract days from a date. I was asking how to schedule appointments programmatically on a shared Outlook calendar. I don't need a query at all. I need VBA code that calls the Outlook calendar and adds the appointments. Something similar to this:

http://support.microsoft.com/kb/220595

...only it needs to schedule the appointments on the shared calendar rather than the individual user's main Outlook calendar as would occur using the code referenced in the article above.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24796567
OK,

Sorry, I mis-understood.
0
 

Author Comment

by:NashVegas
ID: 24796648
No worries, Jeff. Can anyone help me with this?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24796971
No, again, I thought you needed help with the query.

Click the Request Attention button and ask that this Q be placed in the Exchange Zone
0
 

Accepted Solution

by:
NashVegas earned 0 total points
ID: 24841011
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Changing a few Outlook Options can help keep you organized!
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

623 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