I have a mailmerge template to produce invoices. The result of the mail merge is a single word document. I need to split this into the individual invoices documents (1 page per invoice). I had many problems which seemed to hinge around the automatic inclusion of a section break by the mail merge process. If I manually replace all of the section breaks with page break all is OK. The problem is that FIND ^b (section break) finds all section breaks correctly. REPLACE ^b with ^m (page break - or anything else for that matter) returns with zero replaced
Replace all section breaks (^b) in a mail merged document with page break (^m) doesn't work
18 views Asked by liz At
0
There are 0 answers
Related Questions in MS-WORD
- VBA query - sort text in alphabetical order in Word
- Can you programmatically generate a link to open a Word document and navigate to a particular location within it (preferably a comment)?
- How can I create an automatic table of contents in docx without the text being bold?
- Does MS Word secretly upload my file to cloud?
- How to use VBA to bold just some text
- Find text and numbers Formatted: "Case: BE########" and format them, regardless of the number
- Access all documents for Word from multiple instance using Excel VBA
- Using document.Application.PixelsToPoints will give different results
- Error: "Document_KeyUp" event not working
- Word macro for reversing selected text
- Make a table of remarks/figures, and format it as a table
- Add custom ribbon button to dotm file that runs macro
- Inline pictures: Add margin
- Excel VBA: Action logging on label click (like Audit Trail)
- Custom referencing format in CSL document, Want to add whitespace into bibliography
Related Questions in MAILMERGE
- Mailmerge Word used by different users
- Percentages in a mail merge
- Is there a way to execute a mail merge using excel as data source to word but with multiple recipients and changing email subject using macro?
- Python to mailmerge csv to word in continuous in one document
- Why does the space bar duplicate the previous field in creating mail merge labels instead of making a space?
- Word Mail Merge with ASPOSE repeats header in table for all data rows
- Replace all section breaks (^b) in a mail merged document with page break (^m) doesn't work
- VBA for mail merge with dynamic loop with where condition
- Word mail merge document - set number of pages in header
- ModuleNotFoundError: No module named 'mailmerge'
- Word many-to-one merge for an invoice using from a .CSV file using NEXTIF or VBA and not a plugin
- How to get Excel VBA code to trigger Word Mail Merge
- Generate different PDFs with mailmerge depending on cell value - Google Sheets
- Convert beautiful HTML/CSS template to PDF report
- Mail merge, one email per person, multiple values
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)