![]() |
#6
|
||||
|
||||
![]()
I've updated the code to attempt to deal with your later requirements. These are each dodgy in their own special way and won't give perfect results in most documents but at least most of the drama will be avoided. In the case of your sample doc, you will be able to spot the shortcomings but it gets pretty close to what you probably wanted.
The replacement of section breaks with hard page breaks is a kludge fix that happens to work on your sample doc but will give non-ideal results on better formatted documents. The graphic conversion to inline shapes failed on a shape in your sample doc so I just put an error skip on that - rather than work out 'why' it failed.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
Tags |
copy and paste, image insert, template document styles |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copy Between Two Headings/Texts | Noob_VBA | Word VBA | 14 | 12-01-2021 12:28 PM |
copy paste webp image from internet to word fails to appear | DBenz | Word | 4 | 05-20-2020 06:49 PM |
Need to copy texts from excel and paste in to the Notepad++ in between the particular tags | ganesang | Word VBA | 2 | 08-27-2018 02:05 AM |
![]() |
Wyck | Word | 1 | 09-21-2016 03:49 PM |
OneNote - Copy and paste image to the table | MartinK | OneNote | 0 | 09-03-2013 05:08 AM |