Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 07-06-2022, 12:22 AM
baidu0021 baidu0021 is offline Need help with word macro to duplicate paragraphs in word document Mac OS X Need help with word macro to duplicate paragraphs in word document Office 2021
Novice
Need help with word macro to duplicate paragraphs in word document
 
Join Date: Jul 2022
Posts: 3
baidu0021 is on a distinguished road
Default

Hi Andrew,
I just found out there are issues:
1. the last character of a paragraph in a table cell was removed if the para does not end with paragraph mark.
2. When the last part of the the paragraph text is a hyperlink, the macro hit runtime error " Cannot edit Range" and debug stops at "aRngAdd.InsertParagraphAfter"

please try the code on new test doc to replicate the issue.
Thank you.
Attached Files
File Type: docx test doc.docx (18.4 KB, 10 views)
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Word VBA macro] How to open the website [languagetool.org] and check my Word document? citroen Word VBA 0 10-25-2020 05:07 AM
ms word document text translation using vba code pk_00 Word VBA 1 03-02-2020 03:11 PM
Macro to extract bookmarked data from Word document and insert into another Word Document VStebler Word VBA 3 05-03-2018 05:02 PM
Macro to transfer data from Word to another Word document with bookmark Jovan Yong Word VBA 3 04-17-2018 04:27 AM
Need help with word macro to duplicate paragraphs in word document Word Macro to publish document as pdf (Word 2010) bville Word VBA 2 04-11-2013 03:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft