Reply
 
Thread Tools Display Modes
  #1   Report Post  
skyping skyping is offline
Junior Member
 
Posts: 1
Default Copy all hyperlinks and alphabetically sort

This is my 1st post here...as I'm really stuck after searching everywhere, so I hope you guys can help!!!

I have a standard Word document that has numerous hyperlinks throughout it.

What I would really like to do is copy all the hyperlinks (keeping the structure etc) and then placing them sorted alphabetically at the point I run the code / macro. Is this possible?

Many Thanks!
  #2   Report Post  
Natalie Lanoville Natalie Lanoville is offline
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by skyping View Post
This is my 1st post here...as I'm really stuck after searching everywhere, so I hope you guys can help!!!

I have a standard Word document that has numerous hyperlinks throughout it.

What I would really like to do is copy all the hyperlinks (keeping the structure etc) and then placing them sorted alphabetically at the point I run the code / macro. Is this possible?

Many Thanks!
Well I don't know much about macros, but I do know that if you go to [CTRL+F] (Find), and leave the find field blank but add the continuous underline format to it, it will find and select all the underlined text, which could be incorporated into a macro along with the copy command.
  #3   Report Post  
MattDan MattDan is offline
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by skyping View Post
This is my 1st post here...as I'm really stuck after searching everywhere, so I hope you guys can help!!!

I have a standard Word document that has numerous hyperlinks throughout it.

What I would really like to do is copy all the hyperlinks (keeping the structure etc) and then placing them sorted alphabetically at the point I run the code / macro. Is this possible?

Many Thanks!
Hi skyping,

I've needed to do something similar recently, and it should work with hyperlinks.

I created a macro to search for specific text - as Natalie says, you can search for specific formatting. My macro cuts the text, or the line, and jumps to the bottom of the document and pastes it, then returns to the top of the document. Keep running the macro until it has moved all the hyperlinks to the bottom of the document. Then tidy up the lines if it's caught any surplus text, and simply sort by paragraphs.

Other than that, can you paste an example of what you're trying to do?

Matt
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sort bullets alphabetically tylerj_24 New Users 1 February 28th 07 07:25 PM
How to sort your endotes alphabetically? yanne Page Layout 2 September 12th 06 02:27 PM
sort ToC alphabetically cestbarb New Users 6 March 9th 06 05:50 PM
How do I sort LABELS alphabetically? fullhead Microsoft Word Help 1 March 12th 05 08:26 AM
Can't sort table alphabetically Tiffany Microsoft Word Help 1 January 21st 05 10:17 PM


All times are GMT +1. The time now is 05:40 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"