LibreOffice 7.6 Help
āĻāĻāĻāĻŋ āĻĄāĻžā§āĻžāϞāĻā§ āĻāĻāĻāĻŋ āĻĒā§āϰāĻŽāĻĒā§āĻ āĻĒā§āϰāĻĻāϰā§āĻļāύ āĻāϰ⧠āĻĨāĻžāĻā§ āϝā§āĻāĻžāύ⧠āĻŦā§āϝāĻŦāĻšāĻžāϰāĻāĻžāϰ⧠āϞā§āĻāĻžāϰ āĻāύāĻĒā§āĻ āĻĻāĻŋāϤ⧠āĻĒāĻžāϰā§āĨ¤ āĻāύāĻĒā§āĻāĻāĻŋ āĻāĻāĻāĻŋ āĻā§āϰāĻŋā§āĻŦāϞ⧠āĻŦāϰāĻžāĻĻā§āĻĻ āĻāϰāĻž āĻšā§āĨ¤
InputBox āĻšāϞ⧠āĻāĻāĻāĻŋ āĻĄāĻžā§āĻžāϞāĻā§āϰ āĻŽāĻžāϧā§āϝāĻŽā§ āϞā§āĻāĻž āϏāύā§āύāĻŋāĻŦā§āĻļ āĻāϰāĻžāύā§āϰ āϏā§āĻŦāĻŋāϧāĻžāĻāύāĻ āĻĒāĻĻā§āϧāϤāĻŋāĨ¤ OK āĻā§āϞāĻŋāĻ āĻāϰ⧠āĻ āĻĨāĻŦāĻž "āĻĢāĻŋāϰ⧠āϝāĻžāύ" āĻā§āĻĒā§ āĻāύāĻĒā§āĻ āύāĻŋāĻļā§āĻāĻŋāϤ āĻāϰāĻž āĻšā§āĨ¤ āĻĢāĻžāĻāĻļāύā§āϰ āĻŽāĻžāύ āĻĒā§āϰāĻĻāĻžāύ āĻšāϞ⧠āĻāύāĻĒā§āĻ āĻĒā§āϰāĻĻāĻžāύ āĻšā§āĨ¤ āĻāĻĒāύāĻŋ āϝāĻĻāĻŋ "āĻŦāĻžāϤāĻŋāϞ" āĻā§āĻĒā§ āĻĄāĻžā§āĻžāϞāĻāĻāĻŋ āĻŦāύā§āϧ āĻāϰā§āύ, āϤāĻžāĻšāϞ⧠InputBox āĻāĻāĻāĻŋ āĻļā§āύā§āϝ āĻĻā§āϰā§āĻā§āϝā§āϰ āϏā§āĻā§āϰāĻŋāĻ ("") āĻĒā§āϰāĻĻāĻžāύ āĻāϰāĻŦā§āĨ¤
InputBox (Prompt As String[, Title As String[, Default As String[, xpostwips As Integer, ypostwips As Integer]]]) As String
prompt: String expression displayed as the message in the dialog box.
title: String expression displayed in the title bar of the dialog box.
default: String expression displayed in the text box as default if no other input is given.
xpostwips: Integer expression that specifies the horizontal position of the dialog. The position is an absolute coordinate and does not refer to the window of LibreOffice.
ypostwips: Integer expression that specifies the vertical position of the dialog. The position is an absolute coordinate and does not refer to the window of LibreOffice.
If xpostwips and ypostwips are omitted, the dialog is centered on the screen. The position is specified in twips.
āϏā§āĻā§āϰāĻŋāĻ
Sub ExampleInputBox
Dim sText As String
sText = InputBox ("Please enter a phrase:","Dear User")
MsgBox ( sText , 64, "Confirmation of phrase")
End Sub