English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am trying to find a way to change the button text on a msgbox so it says something different on the button
Eg: - instead of the button showing "Ok" whth vbOkOnly, I want it to say something else like "Go"

2006-08-08 21:30:57 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

You can make your own msgbox by creating your own FORM.

2006-08-08 23:11:22 · answer #1 · answered by VBACCESSpert 5 · 0 0

#SingleInstance
SetTimer, ChangeButtonNames, 50
MsgBox, 4, Add or Delete, Choose a button:
IfMsgBox, YES
MsgBox, You chose Add.
else
MsgBox, You chose Delete.
return

ChangeButtonNames:
IfWinNotExist, Add or Delete
return ; Keep waiting.
SetTimer, ChangeButtonNames, off
WinActivate
ControlSetText, &Yes, &Add
ControlSetText, &No, &Delete
return

2006-08-09 01:01:46 · answer #2 · answered by anilmathewm 2 · 0 0

I think you can modify the caption of your own forum. Msgbox is an built in function so it can only have specific value

2006-08-08 21:44:54 · answer #3 · answered by net.maxter 2 · 0 0

hi, this can fix the first situation: Sub CommandButton1_Click() ActiveCell.value = software.WorksheetFunction. suited(ActiveCell.value) end Sub As for the 2d situation i do not have time in the present day to look at it yet i'd do so later. thanks.

2016-11-23 17:17:19 · answer #4 · answered by garbutt 4 · 0 0

fedest.com, questions and answers