Add a Hyperlink to an Excel File

Dim excel as new ExcelApplication excel.Workbooks.Add excel.Visible = True excel.Range("H2").Value = "200" excel.Range("H2").Hyperlinks.Add(excel.Selection, "http://www.xojo.com", "Xojo")
This code creates a new Excel Application that has a hyperlink. Microsoft Excel must be installed and the MSOfficeAutomation.rbx plugin must be placed in the Xojo plugins folder.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.