C# Excel how to add hyperlink with cell link -


I will try to work with Excel using C #

let me add a hyperlink Required, which is using the value of another cell. If this value changes in the document, then the hyperlink has to be changed too.

This code:

  curSheet.Hyperlinks.Add (curSheet.get_Range ("c1"), "https: //www.google.ru/? Q =" + curSheet.get_Range ("b1"). value)   

How can I create a dynamic link that has a syllable for the cell, not the value of the cell ?

HYPERLINK formula?

  curSheet.get_Range ("c1"). Formula = "= HyperLINK (" "https://www.google.ru/?q=" "Amp; b1)"    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -