How to record macros in Outlook2007?

Status
Not open for further replies.
Y

YmpzNzM

Looking for the code to automatically assign an addressee when creating a new

calendar item. "Record macro" has been my crutch, but Outlook2007 does not

seem to have "record" button.
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
There's no recorder in Outlook. See this example:

Private WithEvents Inspectors As Outlook.Inspectors

Private Sub Application_Startup()

Set Inspectors = Application.Inspectors

End Sub

Private Sub Inspectors_NewInspector(ByVal Inspector As Inspector)

Dim obj As Object

Dim Appt As Outlook.AppointmentItem

Set obj = Inspector.CurrentItem

If TypeOf obj Is Outlook.AppointmentItem Then

Set Appt = obj

Appt.MeetingStatus = olMeeting

Appt.Recipients.Add "abc@domain.com"

End If

End Sub

Best regards

Michael Bauer

Am Mon, 6 Apr 2009 14:18:01 -0700 schrieb bjs73:


> Looking for the code to automatically assign an addressee when creating a


new
> calendar item. "Record macro" has been my crutch, but Outlook2007 does


not
> seem to have "record" button.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
A Record opened emails for reopening later Outlook VBA and Custom Forms 16
B Track Record Activity Using Outlook 1
D Record Appointment to Calendar on "Public Folder" Outlook VBA and Custom Forms 13
B Customize contact record phone fields Using Outlook 2
B Macro to record what time it is Outlook VBA and Custom Forms 2
N linking an already sent/rec'd email to contact record like it did in 2000 Using Outlook 0
M convert/import a customized record into the default "Account" record BCM (Business Contact Manager) 0
P People/Contact Record gets deleted when I edit it? Using Outlook 3
S Editing an email with notes and saving it for record using Macro Outlook VBA and Custom Forms 3
U No scrolling in note field of contact record Using Outlook 1
R Can BCM monitor and select specific emails and use content info to update the client's record? BCM (Business Contact Manager) 1
M Predefined Outlook Fields not available to add into a BCM record BCM (Business Contact Manager) 0
J How to show the "value" of a user-defined Account field in a Contact Record BCM (Business Contact Manager) 2
J How to create fields that will use the same value on different record types BCM (Business Contact Manager) 2
A delete database --> record remnants ?? BCM (Business Contact Manager) 3
M BCM 2010 Link to Record (very) slow BCM (Business Contact Manager) 2
L Importing multiple record from .vcf (vCard) file Using Outlook 5
S Outlook 2010 Journal does not record activities on Office 2007 files Using Outlook 1
S Cluster Name failed to update the DNS record Exchange Server Administration 2
J Missing HUB DNS record results in mail piling in queue, no failover? Exchange Server Administration 2
P PTR record Exchange Server Administration 4
A share one record for autodiscover between exch 2007 and exch 2010 Exchange Server Administration 4
C Outlook 2010 - delete attachment but leave record of what was deleted Using Outlook 2
D Deleting a word in Contacts, deletes the whole record. Using Outlook 1
C outlook 2007 journal does not record word documents Using Outlook 2
S Calendar conflict on a Resource Record configured with no conflicts allowed Using Outlook 1
C Business Contact Manager 2010 - Link email to record using drag and drop? Using Outlook 6
P Hyperlink to Access record/Form Outlook VBA and Custom Forms 2
H Re: record of sales for each contact BCM (Business Contact Manager) 1
A Is There An Easier Way to Access a Business Contact Record? BCM (Business Contact Manager) 2
B Transitioning to exchange 2010 - MX record Exchange Server Administration 6
A Programmatically duplicating BCM's "Link to Record" function BCM (Business Contact Manager) 2
C Outlook record the step I take getting to the user template? Outlook VBA and Custom Forms 1
S Record eMail details in Outlook 2007 Outlook VBA and Custom Forms 5
R One Click business contact record creation - From an E Mail? BCM (Business Contact Manager) 1
nathandavies Email Details to Excel & Save as .MSG on one macro - combination of 2 macros Outlook VBA and Custom Forms 3
N Export details to a excel spreadsheet using macros Using Outlook 0
D Outlook macros to create meeting on shared calendar Outlook VBA and Custom Forms 10
N Does a Shared Folder Policy override a Digital Signature Setting for macros? Outlook VBA and Custom Forms 6
A Processing Incoming E-mails with Macros New Slipstick.com Articles 0
Diane Poremsky Block Macros in Office 2013/2016 New Slipstick.com Articles 0
Diane Poremsky Using Arrays in Outlook macros New Slipstick.com Articles 0
Diane Poremsky Running Outlook Macros on a Schedule New Slipstick.com Articles 0
B Choose commands from Macros is empty Outlook VBA and Custom Forms 3
P Macros in Word 2003 - how to transfer to another Word 2003? Using Outlook 1
N Running multiple macros upon sending Outlook VBA and Custom Forms 6
Britonius Macros for Delegate Issues? Using Outlook 9
S Using Macros in the Outlook Calendar Using Outlook 2
A Outlook 2010 disabled macros Using Outlook 2
R Outlook Macros for Appointments and Tasks Using Outlook 1
Similar threads


















































Top