Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2024, 03:55 PM
Guessed's Avatar
Guessed Guessed is offline Copy/Paste of unmodified VBA Code in Word returns an error Windows 10 Copy/Paste of unmodified VBA Code in Word returns an error Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,185
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I don't understand what this means "The point is to show in the bookmark specific sections in an international standard"

What I want to get to is the reason why you think a series of bookmarks that align with the exact same 'case variable' text in the document is better than the actual text in the document. To me, that text is far more useful and visible to every user whereas the bookmarks are hidden from view and easily unaligned if the text on the page is subsequently edited.

Are you saying that you want users to see a navigable list (navigation pane) that they can use to jump to an area in the document? This same thing in Acrobat files happens to be called bookmarks - is this where the confusion is coming from? You would be able to see a list like that if your text was styled with an outline level but not if the text in inside table cells which it appears to be. Table cells also prevent a TOC field from finding paragraph styles although adding character styles in a table can work.



Since you already have the real 'unique' information on the page, the bookmarks could just be random strings that increment a number at the end. Without knowing WHY, there is zero reason to make the bookmark name exactly the same as the text it marks.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #2  
Old 06-01-2024, 05:09 AM
randyspaulding12 randyspaulding12 is offline Copy/Paste of unmodified VBA Code in Word returns an error Windows 11 Copy/Paste of unmodified VBA Code in Word returns an error Office 2021
Novice
Copy/Paste of unmodified VBA Code in Word returns an error
 
Join Date: May 2024
Posts: 9
randyspaulding12 is on a distinguished road
Default

The bookmarks lead you to specific sections in an international standard. Perhaps it is helpful to think of it as a legal document. Go to Article 164, clause 504, section e, subsection i, ii, iii, etc. The text that follows is lengthy and detailed, too much for a bookmark. When I open the document I most likely am intending to go to a specific article/clause/section/subsection (i.e. 164.504.e.iii). So that's what is available in the bookmarks. All medical industry standards are arranged this way. It just so happens that the legal standard has a section ii that has subsections A, B, C ... up to I (iiI) and then has a separate section iii. Completely different sections, but one has an uppercase character in it and another doesn't. I can patch around this (make this case iiIa, for example), I just was checking what the rules are for case so I can see if there will be other conflicts like this.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Code to copy data from two sheet ,paste into corresponding sheet through cmdbutton jackfruit88 Excel Programming 1 07-08-2022 09:27 PM
paste returns the wrong not the latest cut Peborgh Word 2 11-23-2021 03:31 AM
Copy/Paste of unmodified VBA Code in Word returns an error Error 4605 while trying to copy and paste with same document Ilmari Word VBA 2 05-05-2020 12:08 AM
Copy/Paste of unmodified VBA Code in Word returns an error Copy/Paste error stuart255 Office 5 05-06-2019 02:13 AM
VBA Newbie (Trying to write a code to copy and paste info from one sheet to another) Forum2000s Excel Programming 2 05-07-2017 04:51 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:37 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