|
-
Jan 23rd, 2007, 11:29 AM
#1
Thread Starter
Lively Member
How to jump back to the HYPERLINK, create pgm?
Hello,
Can you tell me if i need to create a VB program that does the following or does this functionality currently exist in WORD?
Functionality:
When in a WORD document, that contains HYPERLINKS to boomarks within the same document, when i Cntl-Select a HYPERLINK and jump to that forward bookmark, is there a functionality that i can use that will take me back to the location where i CNTL-Selected the HYPERLINK.
In other words, i'd like to HYPERLINK around a program and be able to jump back to the places that i HYPERLINKED from.
I know i can temporarily use the UNDO arrow by placing an "x" next to the HYPERLINK, but the problem is when i want to insert notes ect, they get removed as well!
Thanks for any insights!
BobK
-
Jan 23rd, 2007, 03:36 PM
#2
Re: How to jump back to the HYPERLINK, create pgm?
1) insert a bookmark where the hyperlink is, say "aaa"
2) insert a word "Back" where the bookmark is and hyperlink it to the above bookmark.
for example
[create a bookmark here, say "AAA"][this is your hyperlink]
.
.
.
<your document text here>
.
.
.
[This is your bookmark where you come when click on the above hyperlink][BACK- hyperlink this back to the bookmark "AAA"]
Hope this helps...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jan 23rd, 2007, 04:15 PM
#3
Thread Starter
Lively Member
Re: How to jump back to the HYPERLINK, create pgm?
thanks for your input, is this a manual approach?
-
Jan 23rd, 2007, 04:22 PM
#4
Re: How to jump back to the HYPERLINK, create pgm?
thanks for your input, is this a manual approach?
Yes.
Do you want that to be coded?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jan 23rd, 2007, 04:46 PM
#5
Thread Starter
Lively Member
Re: How to jump back to the HYPERLINK, create pgm?
yes i've been putting together a psuedo code something like this:
in the VB program:
1. capture the hyperlink
2. capture the bookmark(bm) of the hyperlink
3. add the bm at the top of an array
when i enter cntl-alt-b
get the last entry in the bookmark array
save that entry as last bm location
remove that entry from the table
go to that bm location.
i'm still working on req1 and trying to figure out how to capture the range that is the location of the HYPERLINK which was clicked so i can save it's bookmark in a bookmark array.
Would you know how i can identify the RANGE or SELECTION of the HYPERLINK that was clicked by any chance?
Thanks
bk
-
Jan 23rd, 2007, 04:51 PM
#6
Thread Starter
Lively Member
Re: How to jump back to the HYPERLINK, create pgm?
also i've already bookmarked each line of the word document so for line 1 the bookmark is b001, line 2 is b002 and so on, so when i capture the HYPERLINK in action i will then move that HYPERLINKS line number into the bookmark array and that way i can jump back to it.
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|