Copy Static Hyperlinks from one Worksheet to another without disturbing Target Range Format

sspatriots

Well-known Member
Joined
Nov 22, 2011
Messages
585
Office Version
  1. 365
Platform
  1. Windows
Good evening,

I'm trying to generate code that will copy the static hyperlinks from column 'X' on a worksheet (starting in cell X2) called "Drops" and then overwrite the same list of numbers that are in a table column called "PO#" on a worksheet called "2024". The table name on the destination worksheet is "Table4711". I think I can figure this out easy enough if it weren't for having to maintaining the current formatting in the column on the destination worksheet. Hopefully I've provided enough information here, if not I apologize. Thanks, SS



Static Hyperlinks on Sheet Called Drops.jpg
--------------------
Destination for Hyperlinks on Sheet Called 2024.jpg

Source Worksheet "Drops"---------------------Destination Worksheet "2024"
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
After pondering over this overnight, I came up with a workaround. This may or may not be useful to others, but wanted to share my logic I used as the workaround. Since I could not figure out a way to copy the static hyperlinks directly without disturbing the destination formatting, I ended up copying the destination range "formats only" over the source range and then copied the source range and pasted it in its entirety back over the destination range. I hope that makes sense. I'm sure there is a cleaner way to do this, but this did work for me. If anyone has any different ideas I'm still open to hear them. Thanks, Steve
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top