I have a worksheet in which every cell in one of its columns contains a movie title and also has a hyperlink to information about the movie in the Internet Movie Database (http://www.imdb.com[/url%5D). I want to sort the sheet according to a formula or function based on that cell, rather than the actual data in it, so I put the formula in a new cell and copy it down the length of the sheet and then sort it. This part works (thanks to Hans, post 536236) but I want to hide the original title column so that only the formula result is visible. How do I get the hyperlink to follow the formula result into the second column? I can’t find an option to copy and paste just the hyperlink without also copying the cell’s contents, and thereby overwriting the formula.
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Copying hyperlinks (2003 SP2)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Copying hyperlinks (2003 SP2)
- This topic has 3 replies, 2 voices, and was last updated 19 years, 5 months ago.
AuthorTopicWSasimpkins
AskWoody LoungerNovember 21, 2005 at 5:25 pm #426581Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerNovember 21, 2005 at 5:50 pm #986212The following macro will transfer hyperlinks from column A to column B, starting in row 1 and continuing until the last filled cell in column A. Adapt as needed.
Sub TransferHyperlinks()
Dim lngMaxRow As Long
Dim lngRow As Long
Dim wsh As Worksheet
Set wsh = ActiveSheet
lngMaxRow = Range(“A65536”).End(xlUp).Row
For lngRow = 1 To lngMaxRow
wsh.Hyperlinks.Add Range(“B” & lngRow), _
Range(“A” & lngRow).Hyperlinks(1).Address
Range(“A” & lngRow).Hyperlinks.Delete
Next lngRow
End SubThe line to delete the hyperlink from column A is optional.
-
WSasimpkins
AskWoody LoungerNovember 21, 2005 at 6:27 pm #986221 -
WSHansV
AskWoody Lounger
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
4 hours, 46 minutes ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
5 hours, 34 minutes ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
35 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
59 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
16 hours, 48 minutes ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
20 hours, 46 minutes ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
20 hours, 48 minutes ago -
Unable to eject external hard drives
by
Robertos42
14 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
4 hours, 40 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
1 hour, 51 minutes ago -
Synology limits hard drives
by
Susan Bradley
2 days ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
1 day, 3 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
2 days, 7 hours ago -
Upgrade Sequence
by
doneager
2 days ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
5 hours, 59 minutes ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
23 hours, 13 minutes ago -
The incredible shrinking desktop icons
by
Thumper
3 days, 4 hours ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
3 days, 5 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
4 hours, 44 minutes ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 14 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
3 days, 14 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
2 days, 19 hours ago -
Speeding up 11’s search
by
Susan Bradley
1 day, 3 hours ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
1 day, 15 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
4 days, 4 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
4 days, 12 hours ago -
24H2 fixed??
by
CWBillow
3 days, 4 hours ago -
Uninstalr Updates
by
jv16
4 days, 17 hours ago -
Apple zero days for April
by
Susan Bradley
14 hours, 18 minutes ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
3 days, 15 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.