![]() |
#12
|
||||
|
||||
![]()
There is nothing about the macro itself that would cause that behaviour. Perhaps the document you're running it from has acquired some of corruption. Corrupt documents can often be 'repaired' by inserting a new, empty, paragraph at the very end, copying everything except that new paragraph to a new document based on the same template (macros, userforms, headers & footers may need to be copied separately), closing the old document and saving the new one over it.
Similarly, corrupt tables (which the above process won't repair) can often be 'repaired' by: • converting the tables to text and back again; • cutting & pasting them to another document that you save the document in RTF format, which you then close then re-open before copying them back to the source document; or • saving the document in RTF format, closing the document then re-opening it and re-saving in the doc(x) format. Do note that some forms of table corruption can only be repaired by the first method.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBA Code to copy file to folder and keep the original. | staicumihai | Word VBA | 3 | 10-31-2016 03:07 AM |
![]() |
mach_9 | Word VBA | 5 | 09-28-2016 03:19 PM |
![]() |
scvjudy | Word | 2 | 08-11-2014 10:58 PM |
Office 2010 Can't Open Or Save Documents in My Documents Folder | trippb | Office | 1 | 07-12-2013 07:29 AM |
Macro code should find inv no in folder and send attachhed mail. | visha_1984 | Outlook | 0 | 01-30-2013 05:08 AM |