ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   vbok caption (https://www.excelbanter.com/excel-programming/336471-vbok-caption.html)

I Love it

vbok caption
 
i use the code
CreateObject("WScript.Shell").popup strTextMessage, 1

for having an alert without pressing any key.

Can i rename the caption of the vbOk commandbutton???

Tia


I Love it

vbok caption
 
Cause i dont want that that user press ANY key.

The number 1 means it appear ony 1 second long and then it close
automatically.

My question is:
Can i rename the caption of vbok?


NickHK

vbok caption
 
This is in VBA is it ?
Why not just use MsgBox ?

NickHK

"I Love it" wrote in message
oups.com...
i use the code
CreateObject("WScript.Shell").popup strTextMessage, 1

for having an alert without pressing any key.

Can i rename the caption of the vbOk commandbutton???

Tia




NickHK

vbok caption
 
I suggest you post in a scripting group then.

NickHK

"I Love it" wrote in message
oups.com...
Cause i dont want that that user press ANY key.

The number 1 means it appear ony 1 second long and then it close
automatically.

My question is:
Can i rename the caption of vbok?




I Love it

vbok caption
 
did i get this code in this newsgroup?


Bob Phillips[_6_]

vbok caption
 
You probably did.

When you say can you change the vbOK button, do you realise that you can use
the same buttons that MsgBox supports, you know, vbYesNo, vbOKCancel,
vbInformation, etc.

If you want your own text, I have used APIs to do this with MsgBox, but
never tried with the timed MsgBox.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"I Love it" wrote in message
oups.com...
did i get this code in this newsgroup?




NickHK

vbok caption
 
I'd be surprised.
Where do you think you are ?

NickHK

"I Love it" wrote in message
oups.com...
did i get this code in this newsgroup?




Paula[_4_]

vbok caption
 
Cant you stop to be so childish?
I need to use it and you're only wasting time.

I got all what i know thans to Bob, tom and Chip.
So who are you ??


"NickHK" ha scritto nel messaggio
...
I'd be surprised.
Where do you think you are ?

NickHK

"I Love it" wrote in message
oups.com...
did i get this code in this newsgroup?






Bob Phillips[_6_]

vbok caption
 
I can't see responses from Chip or Tom in this thread. What are you
referring to, as I would just like to read them?

thanks

Bob


"Paula" wrote in message
...
Cant you stop to be so childish?
I need to use it and you're only wasting time.

I got all what i know thans to Bob, tom and Chip.
So who are you ??


"NickHK" ha scritto nel messaggio
...
I'd be surprised.
Where do you think you are ?

NickHK

"I Love it" wrote in message
oups.com...
did i get this code in this newsgroup?








Paula[_4_]

vbok caption
 
I meant that i'm expert in excel thanks to your help, Chip and Tom.




Bob Phillips[_6_]

vbok caption
 
Oh right, just thought I was missing a post from those guys, and like you, I
like to read 'em :-)

Regards

Bob


"Paula" wrote in message
...
I meant that i'm expert in excel thanks to your help, Chip and Tom.







All times are GMT +1. The time now is 04:19 PM.

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