0
可能重複:
Extracting the hyperlink from multiple cells with VBAExcel的腳本超鏈接提取
[固定]排序它自己:)
對於i = 3要總
Cells(i, 11) = Cells(i, 1).Hyperlinks.Item(1).Address Cells(i, 12) = Cells(i, 2).Hyperlinks.Item(1).Address Next i
我從來沒有在Excel中做任何腳本,所以任何幫助表示讚賞。
我想提取從列1 & 2.超鏈接地址(URL),並將其粘貼(而不是超鏈接)到另一列(這樣我就可以導出爲CSV的鏈接)
我想要做的事像循環一樣,但它不起作用!
ActiveSheet.Cells(i, 11).Value = ActiveSheet.Cells(i, 1).Hyperlinks.Item(1).Address
ActiveSheet.Cells(i, 12).Value = ActiveSheet.Cells(i, 2).Hyperlinks.Item(1).Address
謝謝!