Ask Your Question

how can i ping a cell on ubuntu LibraOffice?

asked 2016-06-19 07:30:57 +0200

itda gravatar image

i want to write a macro on ubuntu LibraOffice and ping a specific cell which contain a valid ip address.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-06-24 02:22:15 +0200

Ratslinger gravatar image

This macro:

Sub shellTest
   Cell = oSheet.GetCellRangeByName("A1")
   ipAddr = Cell.getString
   Shell ("exo-open --launch TerminalEmulator ping -c 5 " & ipAddr)
End Sub

reads the value in 'A1' on the current sheet and attempts to ping the address in that cell 5 times.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-06-19 07:30:57 +0200

Seen: 201 times

Last updated: Jun 24 '16