Ive got it to work!!! I added a table to the header - Also when I created the header i selected the option "different first page". SO: Ive created the header in the second page and afterwards just deleted the second page.... Here is my code , the variables are populated with values from embedded dropdown on the first page:
Thank you for your help VBAWillow !
------- CODE -------
Sub Headerfunctionnew()
Dim SecCount As Integer
Dim CompLine1 As String
Dim CompLine2 As String
Dim AddrLine1 As String
Dim AddrLine2 As String
Dim AddrLine3 As String
Dim FooterLine1 As String
Dim FooterLine2 As String
CompLine1 = ddcompany.Text
CompLine2 = ActiveDocument.Tables(1).Cell(2, 1).Range.Text
AddrLine1 = ddaddress.Text
If lstLines2and3.ListCount > 1 Then
AddrLine2 = lstLines2and3.List(0)
End If
If lstLines2and3.ListCount = 2 Then
AddrLine3 = lstLines2and3.List(1)
End If
If LstFooters.ListCount > 1 Then
FooterLine1 = LstFooters.List(0)
End If
If LstFooters.ListCount = 2 Then
FooterLine2 = LstFooters.List(1)
End If
ActiveDocument.Sections(SecCount).Headers(1).Range.Tables(1).Cell(1, 1).Range.Text = CompLine1
ActiveDocument.Sections(SecCount).Headers(1).Range.Tables(1).Cell(2, 1).Range.Text = CompLine2
ActiveDocument.Sections(SecCount).Headers(1).Range.Tables(1).Cell(1, 2).Range.Text = AddrLine1
ActiveDocument.Sections(SecCount).Headers(1).Range.Tables(1).Cell(2, 2).Range.Text = AddrLine2
ActiveDocument.Sections(SecCount).Headers(1).Range.Tables(1).Cell(3, 2).Range.Text = AddrLine3
ActiveDocument.Sections(SecCount).Footers(1).Range.Tables(1).Cell(1, 1).Range.Text = FooterLine1
ActiveDocument.Sections(SecCount).Footers(1).Range.Tables(1).Cell(2, 1).Range.Text = FooterLine2
End Sub