开发者

Excel VBA Dialog box with custom buttons

I would like to create a dialog box or message box in excel WITH custom button labels i.e. FIRST and SECOND. I would like for this box to open up when the file is first opened...and doesn't allow user access to the worksheet until they select either FIRST or SECOND.

I can make a form, but I would rather not add a form since this should be simple... I remember doing something very simi开发者_开发百科lar back in the VB6 days, but that has been sometime.


The MsgBox function does not support different names (than the given ones) for the buttons, and neither the InputBox method or function will allow you to change the button names.

You'll have to make a simple form.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜