Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将超链接 (a href="url/category/ H5 ")text(/a) 添加到引用H5的单元格B5的开头。我认为 VBA 宏可能是最好的方法,但如果它可以使用也可以使用的公式来完成。我的 VBA 不是很好。:D 如果您能提供帮助,请提前致谢!
' here is the code that cn create hyperlink for you question. ' Dim rng As Range Set rng = ActiveSheet.Range("B5") rng.Parent.Hyperlinks.Add Anchor:=rng, Address:="", SubAddress:= _ "H5", TextToDisplay:="this is long text"