Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-27-2021, 02:51 AM
TheBigBoss TheBigBoss is offline Add footnote in a bookmark Windows 7 32bit Add footnote in a bookmark Office 2010 32bit
Advanced Beginner
Add footnote in a bookmark
 
Join Date: Dec 2016
Posts: 56
TheBigBoss is on a distinguished road
Default

Thanks for your reply


I think I actually I found what the problem is but got no solution so far.

I use several bookmarks, some separated, others not...
KTP/EG.[SymbolA][SymbolPart]/[SymbolB]/[SymbolC][SymbolAst]

My code works great if bookmarks are separated with a character... But if bookmarks are attached/joined (as for [SymbolA][SymbolPart]) then everything get messed up. Inserting "Part" will work but the "Part" bookmark will be deleted and content added into SymbolA. Same with "SymbolAst", adding content in the bookmark will result in "SymbolAst" being deleted and content added in "SymbolC")

I think it has to do on the fact that writing bookmark is actually equivalent to deleting it and readding it, something is happening there and it is messing up bookmarks.


Here is a dotm with a small macro and form (RunIt).


This is the only thing that is preventing me to introduce the macros to my colleague so I am really eager to find a solution here.

Thanks a lot
Attached Files
File Type: dotm TEST-BOOKMARK.dotm (42.2 KB, 8 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add footnote in a bookmark Footnote references in the footnote section losing their style when cut+pasted from same doc emblaw Word 4 12-08-2020 06:23 AM
Add footnote in a bookmark Removing line break and indentation between footnote number and footnote text in Word jaanross Word 5 02-06-2020 12:04 AM
REf Fields show Bookmark whole cell when Bookmark is created by code. pmcpowell Word VBA 2 11-16-2019 07:05 PM
Add footnote in a bookmark Adding footnote number as part of footnote text NoCalScribe Word VBA 3 07-15-2019 07:20 PM
Find Bookmark, move to bookmark, execute code, repeat raymm3852 Word VBA 10 04-15-2016 06:21 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft