Publisher) (WebListBox.ReturnDataLabel 屬性
會傳回或設定 String ,代表送出頁面時網頁用來標記指定之 Web 物件的文字。 讀取/寫入。
語法
運算式。ReturnDataLabel
表達 代表 WebListBox 物件的變數。
範例
此範例會建立新的 Web 文字方塊,並在提交頁面時指定文字方塊中的文字標籤。
Sub LabelWebTextBoxControl()
With ActiveDocument.Pages(1).Shapes _
.AddWebControl(Type:=pbWebControlSingleLineTextBox, _
Left:=100, Top:=100, Width:=300, Height:=15).WebTextBox
.DefaultText = "Please enter your name here"
.Limit = 70
.RequiredControl = msoTrue
.ReturnDataLabel = "Full_Name"
End With
End Sub
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。