add in - How do I format a cell as hyperlink using Excel's COM API? -


i have excel addin (c# iextensibility) , need mark cell having hyperlink format. best way this?

i think need set cell builtin style 8. if range.style - there no way set style builtin id. how can this?

??? - - dave

range("a1").style = "hyperlink" 

note give cell illusion of looking hyperlink. make have hyperlink, need go:

sheet(1).hyperlinks.add anchor:=range("a1"),  _     address:="http://www.google.com", _     texttodisplay:="www.google.com" 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -