3
的我如何能得到这个打印的列中发现的超链接的文件:在列中选择行“d E”“A”打印一系列超链接
Sub Print_Hyperlinks()
Dim rng As Range
Dim row As Range
Dim cell As Range
Dim LastRow As Long
LastRow = Range("A2").End(xlDown) 'Print only selected rows in "A"
Set rng = Range("D2:E" & LastRow)
For Each row In rng.Rows
For Each cell In row.Cells
Selection.Hyperlinks(1).Follow 'List of Hyperlinks in Column "D"
Selection.Hyperlinks(2).Follow 'List of Hyperlinks in Column "E"
Next cell
Next row
End Sub
当你运行这个程序时,你看到了什么问题? – psmears 2010-06-26 06:56:29
你想如何“打印”超链接文件?打印机? – 2010-06-28 10:40:49