Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-27-2023, 04:53 AM
Hmelk Hmelk is offline Runtime error 5828, invalid bookmark name - hyperlink page number index Windows 10 Runtime error 5828, invalid bookmark name - hyperlink page number index Office 2016
Novice
Runtime error 5828, invalid bookmark name - hyperlink page number index
 
Join Date: Sep 2023
Posts: 6
Hmelk is on a distinguished road
Default

Thanks for the tip, I found something out. It works when the displayed text is the same as the highlighted text.
"House=house" works,
"house=house, old" does not work.

How to change this?

Thanxs
Hmelk
Reply With Quote
  #2  
Old 09-29-2023, 12:59 AM
Hmelk Hmelk is offline Runtime error 5828, invalid bookmark name - hyperlink page number index Windows 10 Runtime error 5828, invalid bookmark name - hyperlink page number index Office 2016
Novice
Runtime error 5828, invalid bookmark name - hyperlink page number index
 
Join Date: Sep 2023
Posts: 6
Hmelk is on a distinguished road
Default

Hello,

there must not be any spaces, (),* in the index word. But underscores_are permitted.
If I do it like this: A_house = Build_a_house
Then it works.
Later replace the _ with spaces in the HTML index and it looks OK again.
Maybe it's not such an elegant solution, but it seems to work.

Hmelk
Reply With Quote
  #3  
Old 10-14-2023, 03:40 AM
Hmelk Hmelk is offline Runtime error 5828, invalid bookmark name - hyperlink page number index Windows 10 Runtime error 5828, invalid bookmark name - hyperlink page number index Office 2016
Novice
Runtime error 5828, invalid bookmark name - hyperlink page number index
 
Join Date: Sep 2023
Posts: 6
Hmelk is on a distinguished road
Default

Hello,
now this error message appears.
Does anyone have any idea what I am doing this wrong?

Runtimeerror 4120, Wrong Papameter
.Hyperlinks.Add Anchor:=.Words(j), SubAddress:=GetBkMk(Trim(.Words(j).Text), StrIdx), TextToDisplay:=.Words(j).Text


Thanks
Hmelk
Reply With Quote
  #4  
Old 10-14-2023, 10:41 AM
Hmelk Hmelk is offline Runtime error 5828, invalid bookmark name - hyperlink page number index Windows 10 Runtime error 5828, invalid bookmark name - hyperlink page number index Office 2016
Novice
Runtime error 5828, invalid bookmark name - hyperlink page number index
 
Join Date: Sep 2023
Posts: 6
Hmelk is on a distinguished road
Default

Hello,

I have found the problem. I had created the markers automatically via a Word file. This also entered Index references in the footnotes. When I deleted those, I got an index with hyperlink. I will test this further tomorrow.

Hmelk
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime error 5828, invalid bookmark name - hyperlink page number index How to hyperlink an index entry to a bookmark in a document? Ashok P Word VBA 1 02-28-2021 12:48 AM
Runtime error 5828, invalid bookmark name - hyperlink page number index Can I use a variable to display the page number of a bookmark ? delboy Word 3 12-29-2020 01:16 PM
Runtime error 5828, invalid bookmark name - hyperlink page number index use hyperlink in page number in index boywonder Word VBA 1 07-27-2017 03:18 PM
Runtime error 5487 - Word cannot complete the save to to file permission error franferns Word 0 11-25-2009 05:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:40 PM.


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