![]() |
|
#1
|
|||
|
|||
![]()
If your code is not running as expected, it is not recommended to use "On Error Resume Next", cause this will prevent you from find the error source.
__________________
Backup your original file before doing any modification. |
#2
|
||||
|
||||
![]()
That isn't going to help it run correctly. The only issue with it's use in the OP's code is that it isn't followed by an appropriately-located 'On Error Goto 0' at a point from which errors should no longer be skipped over. If the OP was simply to delete 'On Error Resume Next', that would likely cause the code to stop exactly where one wouldn't want it to.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
What changes to the code would you advise?
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Edszx | Word VBA | 2 | 05-27-2019 11:16 PM |
Editing Word documents through VBA in SharePoint | algecan | Word VBA | 0 | 09-26-2018 05:23 AM |
batch extract all tables in multiple word documents | ZaidaBa | Word Tables | 3 | 05-08-2017 10:22 PM |
Emailed documents locked for editing by someone else | jibbs | Office | 1 | 09-30-2015 05:12 AM |
![]() |
cdfj | Word VBA | 6 | 11-07-2012 01:03 PM |