There are no macros in your document. What you posted was a field calculation.
I never did like FillIn fields. The attached version uses a content control date picker to get the end date (which presumably will always be a Friday) and then populates the table based on that selection, using a macro.
If you want the end date to be any day of the week, remove the line
Code:
EndDate = EndDate - Weekday(EndDate) + 6
from the macro.