Header dosn't work

forgive me for my bad english:

I’m doing this file that makes a “preventive” automaticly. It prints itself from an external excel. basiclly it takes data from this excel and puts it inside of the libre office writer page.

the problem is:

the file should:
every new page that get’s created should automaticly create a “header” with a table that contains the logo name and data about the company for every page.

well that’s not happening what is acctually happening is:

the file everytime that creates a new page puts as a header a random table, from another file that i never used in this one.

I would like it to be as i intended. But there is a problem. I have no clue on how to make it happen

FIXED BY COPY AND PASTE!

Please edit your question to provide more details. Note this site is not a forum. It is a Question & Answers one. So, keep all details in the description of the problem. This is better for contributors who then don’t need to read through comments and comments to grasp the full context.

Mention OS name, LO version and save format. Reliability can only be guaranteed if you save native, i.e. .odt and not alien formats like .doc(x).

It looks like your header is the same on every page. Consequently, you should be able to enter it manually on the first page and it will repeat the same on every page.

If this still doesn’t happen, attach a sample file to your question.