![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#3
|
||||
|
||||
|
To me, the requirement to remove the last page is a bit complicated.
If the last page is preceded by a hard page break for instance, deleting the last page would retain the last page but clear the content from it (other than an empty paragraph). The same thing would happen if the preceding page ended with a table right at the bottom of the page since a paragraph mark needs to be the final thing in the file. If the last page happened to include a section break, the page setup/headers/footers on preceding pages would potentially change. You could potentially avoid these issues by exporting and specifying the page range to exclude the last page. And then you have the issue of what to do with a single page document...
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Web Page, Filtered. 2010. Save as .docx
|
JonJacobs | Word | 3 | 12-14-2018 10:38 AM |
| Looping through a folder of PDF files and saving them as docx | ballpoint | Word VBA | 5 | 11-22-2018 05:18 AM |
Run Code on all files and save files as .docx
|
Plokimu77 | Word VBA | 4 | 06-05-2016 04:41 PM |
Macro to change all text color to black in all docx files in a selected folder
|
joewoods | Word VBA | 13 | 05-16-2016 06:29 PM |
| Macro to change/convert/delete txt files in folder+subfolders | NoS | Word VBA | 4 | 03-03-2016 12:10 PM |