Advertisement
eeperry

LibreOffice Basic: Open a Form function

Sep 29th, 2012
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub OpenAForm(oEv As Object)
  2. Dim GetFormName As String
  3. Dim GetForm as Object
  4. GetFormName = "Authors"
  5. GetForm = ThisDatabaseDocument.FormDocuments.GetByName(GetFormName)
  6. GetForm.Open
  7. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement