![]() |
#3
|
||||
|
||||
![]()
Not so trivial if the style name is not a valid xml element name. For instance you can't have a space in the name so "Heading 1" will need to become "Heading1". If your styles include potentially problematic characters like &* or begin with a number or underscore then you might also run in to problems.
You might need to include a function to ensure only xml valid names get in the tags.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro to transfer data from Word to another Word document with bookmark | Jovan Yong | Word VBA | 3 | 04-17-2018 04:27 AM |
Macro to put 1 word of a MS Word file in 1 cell of a Word or Excel Table | Singh_Edm | Word VBA | 6 | 11-13-2015 08:48 PM |
![]() |
LadyAna | Word | 1 | 12-06-2014 10:39 PM |
![]() |
norwood | Word VBA | 2 | 02-03-2014 06:49 PM |
Macro for tagging and rearranging selected text for revision | caotico | Word VBA | 0 | 03-28-2012 06:35 PM |