Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. referencing in Word

referencing in Word

Scheduled Pinned Locked Moved Visual Basic
tutorialhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Stephan Wright
    wrote on last edited by
    #1

    Hy everyone! I want to do the following: I do have a Word document containing lots of tables with descriptions/infos in it. But there is lots of text in there, too. To avoid lengthening the document any further I chose to reference to other tables within this document or other table, so if I already described it in an earlier table I do only reference to this one. So for example in table 10.9.8 I do reference to table 10.1.2 which contains the required information. At the moment I have to scroll manualy to this table, get the required info there and scroll back to where I came from afterwards. Well as you might have guessed it's quit anoying to do it like this. So I would like to realize this "scrolling" with a macro which changes this "referencing mark" to a hyperlink to allow clicking on it, which "scrolls" to the desired location within the document. Well, I could have done this manually to, but well, this document changes around once or twice within 14 days, adding some more data, deleting it. And maybe I will port this macro to another similar document, to do the same there. This means I will have to scan the document first for all the headers of each chapter, put (text)marks and then scan for references to change them into hyperlinks to them to allow clicking the links. But at the moment I have no idea how to do so! I am quit familar to VBA for Excel, but I wonder if this could help in VBA for Word, too. :| So I wonder if anyone of you did something similar or knows how to do this and wants to share his/her knowledeg with me! :) Thanks. Stephan.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups