Excel Family Tree Generator Template - Error message when selecting "Create Family Tree"

Mark Coblentz 20 Reputation points
2026-07-16T15:55:09.84+00:00

I have used Family Tree Generator template in the past but now can no longer make corrections to old trees or make new ones. I have repaired MS365 as some posts suggested, downloaded Family Tree Generator, and saved using .xlsm. After selecting "Reset Family Members" to enter my personal family info, I enter my Grandparents, then first child in "First Generation Children" column (selecting parents from dropdown menu okay) and then select Create Family Tree in upper right corner to see if it works. Graphic is fine. Next, I add second child in "First Generation Children" column, select parents fine, then select Create Family Tree again and a Microsoft Visual Basic message pops up with "Run-time error '1004' (see attached). Is there something else that I need to do to use the template?

User's image

Microsoft 365 and Office | Excel | For home | Windows
0 comments No comments

Answer accepted by question author
Xavier-D 13,110 Reputation points Microsoft External Staff Moderator
2026-07-17T07:02:35.8666667+00:00

Hello Mark Coblentz

I can see that you are having issue with Excel Family Tree Generator Template

The screenshot shows a generic VBA Run-time error ‘1004’: Application-defined or object-defined error. Since the template creates the first chart successfully, the workbook is already macro-enabled, so another Office repair or file-format change is unlikely to help.

Try this workaround:

  1. Create a completely new copy from Excel > File > New, then search for Family Tree Generator.
  2. Select Reset Family Members and enter all family members and parent selections before selecting Create Family Tree.
  3. Select Create Family Tree only once, after completing the entries. Repeatedly regenerating a partially completed tree may be where the template’s VBA code fails.
  4. Keep names unique, avoid blank rows between entries, and make changes only on the Family Members sheet, not directly on the generated Family Tree sheet.

Error 1004 generally means the macro tried to use an invalid argument, range, worksheet object, or unsupported context.

If the error still occurs, please select Debug in the message and take a screenshot of the line highlighted in yellow. That line is necessary to identify whether the template is failing while clearing the previous chart, reading the second child, or creating a new shape. Also include the Excel build shown under File** > Account > About **Excel.

Feel free reply back to this post and update me on this issue, I'll be happy to help.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Oldest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.