OpenOffice Hyperlink

Java, C++, C#, Delphi, ??? - Using the UNO bridges

OpenOffice Hyperlink

Postby tmcginnis3 » Sat Mar 19, 2016 3:21 am

I am trying to replace a piece of code from when I was using MS Excel to now using OO-Calc.
The code ( writes a hyperlink to a cell
The original code is:
Code: Select all   Expand viewCollapse view
xlWorkSheet.Cells(cnt, 1).Select()
xlWorkSheet.Hyperlinks.Add(xlApp.Selection, FilePathAndName, "", "", FirstName)

I have tried:
Code: Select all   Expand viewCollapse view
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
Posts: 1
Joined: Sat Mar 19, 2016 3:12 am

Return to External Programs

Who is online

Users browsing this forum: No registered users and 1 guest