Sub CreateHyperlinks()Dim ws As WorksheetDim cell As RangeDim targetCell As RangeDim contentToCells As ObjectDim key As VariantDim i As Long, j As LongDim sheetName As StringDim targetSheetName As StringDim cellAddress As StringDim targetAddress As StringDim cellInfo As VariantDim targetInfo As Variant' 创建一个字典来存储内容及其对应的单元格位置Set contentToCells = CreateObject("Scripting.Dictionary")' 遍历每个工作表For Each ws In ThisWorkbook.Worksheets' 遍历第7行及之后的每一行For i =