Forum Discussion
SuzanneLedo
Jul 28, 2021Copper Contributor
How to extract data when there are duplicates
I'm using Windows 10 and Excel 365 enterprise. I have a sheet with duplicate entries and I need to copy data from a sheet with matching unique entries and repeat it on each line without having to delete the duplicates. Example attached.
Thanks in advance for any assistance!
The Range property of a hyperlink represents the cell that contains the hyperlink.
Dim LinkCount As Long Dim URL As String dim Rng as Range For LinkCount = 1 To ActiveSheet.Hyperlinks.Count URL = ActiveSheet.Hyperlinks(lngLinkCount).Address Set Rng = ActiveSheet.Hyperlinks(lngLinkCount).Range ' If you want to know the cell address, use Rng.Address Next LinkCount
3 Replies
Sort By