Questions

Outlook 2003 Macro

Tags:
+
0 Votes
Locked

Outlook 2003 Macro

dhays
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.