![]() |
|
|
|
#1
|
||||
|
||||
|
Replace
Code:
bookmarkName = "Bookmark_" & Left(paragraphNumStr, 4) Code:
paragraphNumStr = Left(paragraphNumStr, InStr(1, paragraphNumStr, Chr(32))) bookmarkName = "Bookmark_" & Trim(Replace(paragraphNumStr, ".", "_"))
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cross-reference with full context a numbered list inside another multilevel list (list style) | MatLcq | Word | 0 | 02-01-2021 06:00 AM |
| Convert multilevel bullet list to multilevel numbered list | scadaman29325 | Word | 2 | 03-27-2020 03:27 PM |
Find word, Insert Paragraph and bookmark
|
gattaca714 | Word VBA | 2 | 03-24-2017 09:23 PM |
Insert Paragraph after each list item - All Lists
|
dan88 | Word VBA | 6 | 05-07-2016 05:13 PM |
| Multilevel lists and paragraph indentation | computerdummy | Word | 2 | 04-27-2012 02:32 PM |