ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help Pls - Changing Txt on Msgbox button (https://www.excelbanter.com/excel-programming/426211-help-pls-changing-txt-msgbox-button.html)

DonW[_2_]

Help Pls - Changing Txt on Msgbox button
 
I have a user who wants to have the text of a Msgbox button
(e.g., the vbYesNo) to something unique. Is this possible?

Thanks,
Don



Jim Cone[_2_]

Help Pls - Changing Txt on Msgbox button
 
No
--
Jim Cone
Portland, Oregon USA



"DonW"

wrote in message
I have a user who wants to have the text of a Msgbox button
(e.g., the vbYesNo) to something unique. Is this possible?
Thanks,
Don



RB Smissaert

Help Pls - Changing Txt on Msgbox button
 
Either make your own in a UserForm or download one of the free custom
messageboxes that are available.
This one I uploaded a few years ago and should do exactly what you want:
http://www.planet-source-code.com/vb...65065&lngWId=1

RBS


"DonW" wrote in message
...
I have a user who wants to have the text of a Msgbox button
(e.g., the vbYesNo) to something unique. Is this possible?

Thanks,
Don



Jim Cone[_2_]

Help Pls - Changing Txt on Msgbox button
 
RBS,
Downloaded your code and tried to import the form into a XL2002 project.
Was given this message...
"The form class contained in...path"...is not supported in VBE.
The form cannot be loaded."

Help for this message says...
"Visual Basic for Applications only supports UserForm form objects.
This error has the following cause and solution:
You are trying to load a form from an earlier version of Visual Basic
or a form from a current standalone version of Visual Basic."
--
Jim Cone
Portland, Oregon USA




"RB Smissaert"

wrote in message
Either make your own in a UserForm or download one of the free custom
messageboxes that are available.
This one I uploaded a few years ago and should do exactly what you want:
http://www.planet-source-code.com/vb...65065&lngWId=1

RBS


"DonW"
wrote in message
I have a user who wants to have the text of a Msgbox button
(e.g., the vbYesNo) to something unique. Is this possible?

Thanks,
Don


RB Smissaert

Help Pls - Changing Txt on Msgbox button
 
Jim,

It is not meant to be working like that.
You need to register the .dll in Windows and set a reference to it in the
IDE with Tools, References etc.
Then you can use it your code.
Just type MsgBoxDLL and the arguments will popup.

RBS

"Jim Cone" wrote in message
...
RBS,
Downloaded your code and tried to import the form into a XL2002 project.
Was given this message...
"The form class contained in...path"...is not supported in VBE.
The form cannot be loaded."

Help for this message says...
"Visual Basic for Applications only supports UserForm form objects.
This error has the following cause and solution:
You are trying to load a form from an earlier version of Visual Basic
or a form from a current standalone version of Visual Basic."
--
Jim Cone
Portland, Oregon USA




"RB Smissaert"

wrote in message
Either make your own in a UserForm or download one of the free custom
messageboxes that are available.
This one I uploaded a few years ago and should do exactly what you want:
http://www.planet-source-code.com/vb...65065&lngWId=1

RBS


"DonW"
wrote in message
I have a user who wants to have the text of a Msgbox button
(e.g., the vbYesNo) to something unique. Is this possible?

Thanks,
Don




All times are GMT +1. The time now is 12:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com