i want to add a reset button in my form. So txtstadiumName has to be empty after clicking on the button. It sounds simple but im struggling to find this.
I know i have to use openoffice basic for this and use a macro.
This is what i…
I am writing a Basic macro in NeoOffice (a mac OO clone) and I want to highlight/select the cell in the table the cursor is in at the time the macro runs.
Google gave me the following related snipset, and it does color the cell, but I want to…
I have imported an original VBA form (the design) into Libre Office (Version 4.4.2.2) .
However, some form controls are hidden in the designer mode, but are clearly there in the preview/test mode.
Does anyone know, how I can edit the "hidden"…
I'd like to get the name and the label of some controls included in a dialog in LibreOffice Basic.
I can call getImplementationName() on my example controls.
I get these : stardiv.Toolkit.UnoEditControl, stardiv.Toolkit.UnoCheckBoxControl,…
I know that this question has already been answered but the given solution doesn't work for me. The given solution is:
Dim oDoc As Object
Dim Path$
oDoc = ThisComponent
Path$ = oDoc.getURL()
Actually this returns an empty string ("") for me. Is…
I am trying to create a macro in open office however i cant find away to perform this. I want to copy a specific cell and the past a blank sell on a given column.
Basically its something like this
Copy "B2"
If "A1" blank paste
if false
move 1 cell…
I have a spreadsheet that has 5 columns, each column holds a full name (First Middle Last) in each cell.
How can I produce a report showing which names are shared between which columns, for example,
Report:
John Brown is in columns A,D,E
James…
I have a LibreOffice Basic macros to write/ read XML files. I have ported them from VBA. So far everything seems to be working except for retrieving the text from XML elements. Here is the (simplified) Sub that creates an XML object, writes it to…
I'm trying to run this Macro but since my CSV file is really long and I don't want to count the column numbers, is there a way to reference the column by the letters such as "DZ"? The code works fine but I just need to reference these deep columns…
On OpenOffice documentation [1], I found a replace example. But I didn't find a search example.
Dim Doc As Object
Dim Sheet As Object
Dim ReplaceDescriptor As Object
Dim I As Integer
Doc = ThisComponent
Sheet = Doc.Sheets(0)
ReplaceDescriptor =…
I'm looking to find replace text within multiple PDF documents using Draw. Thus far I've managed to open the PDF however
mydoc.createReplaceDescription
appears not to be a valid property / method on a Draw doc. Although oddly this is used in…
I am considering to switch from Excel to Open Office (actually to Lotus Symphony).
I have many Excel files with VBA macros that connect to CAD, CAM and other applications, and to my own COM objects.
The function GetObject doesn't exist in Open…
I am trying to yank the value from a listbox which is in a cell. Whenever I query the value however, it returns the first entry in the listbox, regardless of the current selection showing in the cell.
How do I access the current value displayed in…
I have a bunch of cells whose font size I'd like to tweak if their content is overflowing, until it all fits. I'd like to write a macro to do this, unless there's a conditional formatting or other formulaic way of doing it. Is there a property…
I'm trying to match two cells in an area that has two columns, each with multiple repetitive values, and simply return something that indicates there is a match row.
I'm doing this in LibreOffice Calc, but I'd like to be able to share it in an Excel…