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.
 
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.
Similar threads
Thread starter Title Forum Replies Date
A Record opened emails for reopening later Using Outlook 2
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
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
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
S Why do I have to close and reopen Outlook for macros to work? Outlook VBA and Custom Forms 2
S Email Macros to go to a SHARED Outlook mailbox Draft folder...NOT my personal Outlook Draft folder Using Outlook 2
V Outlook macros no longer run until VB editor is opened Outlook VBA and Custom Forms 0
D Outlook 2013 Macros only run in VB editor, not in drop down or button Outlook VBA and Custom Forms 14
J Want to learn VBA Macros for Outlook. What book can you recommend? Outlook VBA and Custom Forms 2
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 Using Outlook 0
Diane Poremsky Block Macros in Office 2013/2016 Using Outlook 0
Diane Poremsky Using Arrays in Outlook macros Using Outlook 0
Diane Poremsky Running Outlook Macros on a Schedule Using Outlook 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
M Running macros in tasks sent out as meeting requests in invitees machine Using Outlook 4
L Calendar Macros? Using Outlook 3
S Inserting Dates With Quick Parts (or Macros) Using Outlook 4
L Macros disabled in custom Outlook form Outlook VBA and Custom Forms 1
V Run multiple Macros or macros from within other macros ? Outlook VBA and Custom Forms 2

Similar threads

Back
Top