OpenOffice Hyperlink

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
tmcginnis3
Posts: 1
Joined: Sat Mar 19, 2016 3:12 am

OpenOffice Hyperlink

Post by tmcginnis3 »

I am trying to replace a piece of code from when I was using MS Excel to now using OO-Calc.
The code (VB.net) writes a hyperlink to a cell
The original code is:

Code: Select all

xlWorkSheet.Cells(cnt, 1).Select()
xlWorkSheet.Hyperlinks.Add(xlApp.Selection, FilePathAndName, "", "", FirstName)
I have tried:

Code: Select all

MySheet.getCellRangeByName("A" & cnt).hyperlinks.add(FilePathAndName, "", "", FirstName)
and some other variants but nothing has worked. I am having trouble finding any info on this. Can someone help translate please?
OpenOffice 3.1 on Windows Vista
Post Reply