Which header? Each Section of a document has three headers (and footers) - primary, first page and even, potentially giving many headers in a single document. At the most basic level, you'd populate the first Section's primary header with code like:
Code:
ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).Range.Text = "my text"