Follow via:
RSS
Email Alert
Question
0 Votes
+ -

Outlook 2003 Macro

I would like to create a macro in MS Outlook to automate the task of changing the font of a selection in the notes portion of an Outlook task. I copied the text of such a macro from Word, but it gives me an error Run time error 424 Object required
the text of the macro is:
Public Sub ArialFont()
ActiveDocument.Notes.Selection.Font.Name = "Arial"
ActiveDocument.Notes.Selection.Font.Size = 10
End Sub
In Word it is just selection.font.name = "arial" I added "activedocument" from an example of a macro to do something else. It still gives me the same error. I am not much of a programmer, so I am lost. It is not seeing the selection is my guess.
The Microsoft Office help site just says do it and it will work! No examples.
Updated - 25th Oct 2007
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.