PC Review


Reply
Thread Tools Rate Thread

Answer msgbox with macro

 
 
HI
Guest
Posts: n/a
 
      14th Sep 2007
Hei!

My problem is following. My macro uses another macro created by other
person. I cannot modify or even see the macro. After compliting that
other macro I get msgbox telling me it is done. Now I want to answer
that message automatically with macro. How can I do this?

code is something like this

'myCode
call problemMacro
'problemMacro code which I can't see
msgbox("Refresh succeeded") <- I want to automatically answer yes
'more code I can't see
'myCode

 
Reply With Quote
 
 
 
 
Mike Fogleman
Guest
Posts: n/a
 
      14th Sep 2007
You can't answer a msgbox that way. The only thing that would work is to
remove the code line that creates the msgbox. If you can't see the code,
then you can't do that either. If you can't see the code, then it is
password protected, which means you can't add more code to answer it with
even if there were such a code. You're stuck with it! (you can buy a
password remover.)

Mike F
"HI" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hei!
>
> My problem is following. My macro uses another macro created by other
> person. I cannot modify or even see the macro. After compliting that
> other macro I get msgbox telling me it is done. Now I want to answer
> that message automatically with macro. How can I do this?
>
> code is something like this
>
> 'myCode
> call problemMacro
> 'problemMacro code which I can't see
> msgbox("Refresh succeeded") <- I want to automatically answer yes
> 'more code I can't see
> 'myCode
>



 
Reply With Quote
 
HI
Guest
Posts: n/a
 
      14th Sep 2007
Thanks, Mike!
This problem was driving me nuts. Basicly the msgbox is created by an
add-in which is indeed protected. So I guess I just tell people in my
office to push that damn putton to complite the macro.

On 14 syys, 17:40, "Mike Fogleman" <mikefogle...@insightbb.com> wrote:
> You can't answer a msgbox that way. The only thing that would work is to
> remove the code line that creates the msgbox. If you can't see the code,
> then you can't do that either. If you can't see the code, then it is
> password protected, which means you can't add more code to answer it with
> even if there were such a code. You're stuck with it! (you can buy a
> password remover.)
>
> Mike F"HI" <Ikola_...@hotmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> > Hei!

>
> > My problem is following. My macro uses another macro created by other
> > person. I cannot modify or even see the macro. After compliting that
> > other macro I get msgbox telling me it is done. Now I want to answer
> > that message automatically with macro. How can I do this?

>
> > code is something like this

>
> > 'myCode
> > call problemMacro
> > 'problemMacro code which I can't see
> > msgbox("Refresh succeeded") <- I want to automatically answer yes
> > 'more code I can't see
> > 'myCode- Piilota siteerattu teksti -

>
> - Näytä siteerattu teksti -



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Answer MSGBOX Programatically =?Utf-8?B?a29oYWk=?= Microsoft Excel Programming 6 16th May 2007 04:07 PM
how to use form instead of msgbox to get answer Song Su Microsoft Access Form Coding 3 15th Nov 2006 02:25 AM
MsgBox with answer wilfried Microsoft Access 1 8th Oct 2006 10:21 PM
MsgBox with answer wilfried Microsoft Access 0 8th Oct 2006 09:57 PM
msgbox answer Duncan Microsoft Excel Programming 6 12th Dec 2005 03:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:37 AM.