![]() |
#4
|
||||
|
||||
![]()
The error would be caused when the style doesn't exist in that document. This will happen on any machine when the document is missing that exact stylename.
Those style names are VERY atypical and appear to have a semi-colon where I would have expected a comma (which would denote an alias). You only have to get one character wrong there and the macro will error because the style doesn't exist.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word Error Message Run time Error 4605 | baes10 | Word VBA | 1 | 08-30-2018 02:37 PM |
![]() |
moneal62 | Word VBA | 6 | 01-18-2016 07:54 PM |
Error 5941 when running my macro to auto populate fields throughout the word doc | VBAnovice1 | Word VBA | 2 | 05-26-2015 01:35 AM |
Run-time error 5941 when deleting a row from a table | jpb103 | Word VBA | 1 | 05-26-2014 07:08 AM |
Word Visual Basic error - run time error 504 | crazymorton | Word | 11 | 01-13-2012 04:32 AM |