![]() |
#2
|
|||
|
|||
![]()
Put and On Error statement before you attempt to open the file e.g.,
On Error GoTo Err_Handller Then before the End Sub Line add: lbl_Exit: Exit Sub Err_Handler: Msgbox Err.Number & " " & Err.Description Resume lbl_Exit |
Tags |
error trapping, hidden dialog box, word vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word template with Macro keeps getting an error ''Run-time error 5941'' | Marcel | Word VBA | 3 | 12-17-2019 04:55 PM |
Word Error Message Run time Error 4605 | baes10 | Word VBA | 1 | 08-30-2018 02:37 PM |
Array to iterate through variables and trap blank variables | Marrick13 | Word VBA | 5 | 08-04-2015 06:19 AM |
Word Visual Basic error - run time error 504 | crazymorton | Word | 11 | 01-13-2012 04:32 AM |
Runtime error 5487 - Word cannot complete the save to to file permission error | franferns | Word | 0 | 11-25-2009 05:35 AM |