Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Input an array of merge fields (i.e. 30 different addresses for mailing labels) #87

@Astrophe

Description

@Astrophe

Hi, is there a way to input an array of names and addresses so that my .docx export file has all different labels with the same merge fields but different values? I apologize if this is an obvious question, but I've been working on this problem for a while, without a solution.

Current Behavior

Currently, when I use the document.merge() method, I can create a page of identical labels, but I can't iterate through an array of values, so that all my labels are for a different mailing address.

Possible Solution

Input an array or even an excel spreadsheet where every row is a different label.

Your Environment

  • Python version: Python 3.8.1
  • docx-mailmerge version: Version: 0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions