Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Outlook Meeting Location Macro (http://www.outlookbanter.com/outlook-vba/23540-outlook-meeting-location-macro.html)

Aaron August 10th 06 08:32 PM

Outlook Meeting Location Macro
 
I am looking for a Macro to populate the Location field in the meeting
request with a phone number.

Thanks,
Aaron

Eric Legault [MVP - Outlook] August 14th 06 04:45 PM

Outlook Meeting Location Macro
 
Do you want to do this when the Appointment item is currently open? If so,
map a custom button to this macro:

Sub AddPhoneNumberToCurrentAppointmentItem()
If Not ActiveInspector Is Nothing Then
If ActiveInspector.CurrentItem.Class = olAppointment Then
ActiveInspector.CurrentItem.Location = "(555) 555-1234"
End If
End If
End Sub

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Aaron" wrote:

I am looking for a Macro to populate the Location field in the meeting
request with a phone number.

Thanks,
Aaron



All times are GMT +1. The time now is 10:44 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com