PC Review


Reply
Thread Tools Rate Thread

clarification

 
 
Michael Joe
Guest
Posts: n/a
 
      13th Aug 2004
is there a command

Application.Run macro1 ,"yes"

"yes" is the answer to the inputbox question
 
Reply With Quote
 
 
 
 
Tom Ogilvy
Guest
Posts: n/a
 
      13th Aug 2004
if

Sub Macro1(sStr as String)
ans = InputBox(Default:=sStr)
End Sub

then yes.

If the inputbox is put up by an addin or something besides your code then
probably not.

--
Regards,
Tom Ogilvy


"Michael Joe" <(E-Mail Removed)> wrote in message
news:5a2901c48172$ba859cf0$(E-Mail Removed)...
> is there a command
>
> Application.Run macro1 ,"yes"
>
> "yes" is the answer to the inputbox question



 
Reply With Quote
 
Guest
Posts: n/a
 
      13th Aug 2004
value=(application.run macro1,yes)
what does this do then


>-----Original Message-----
>if
>
>Sub Macro1(sStr as String)
>ans = InputBox(Default:=sStr)
>End Sub
>
>then yes.
>
>If the inputbox is put up by an addin or something

besides your code then
>probably not.
>
>--
>Regards,
>Tom Ogilvy
>
>
>"Michael Joe" <(E-Mail Removed)>

wrote in message
>news:5a2901c48172$ba859cf0$(E-Mail Removed)...
>> is there a command
>>
>> Application.Run macro1 ,"yes"
>>
>> "yes" is the answer to the inputbox question

>
>
>.
>

 
Reply With Quote
 
Tom Ogilvy
Guest
Posts: n/a
 
      13th Aug 2004
As written I doubt it would do anything except, perhaps raise an error.

--
Regards,
Tom Ogilvy

<(E-Mail Removed)> wrote in message
news:5f7a01c48176$7c4de420$(E-Mail Removed)...
> value=(application.run macro1,yes)
> what does this do then
>
>
> >-----Original Message-----
> >if
> >
> >Sub Macro1(sStr as String)
> >ans = InputBox(Default:=sStr)
> >End Sub
> >
> >then yes.
> >
> >If the inputbox is put up by an addin or something

> besides your code then
> >probably not.
> >
> >--
> >Regards,
> >Tom Ogilvy
> >
> >
> >"Michael Joe" <(E-Mail Removed)>

> wrote in message
> >news:5a2901c48172$ba859cf0$(E-Mail Removed)...
> >> is there a command
> >>
> >> Application.Run macro1 ,"yes"
> >>
> >> "yes" is the answer to the inputbox question

> >
> >
> >.
> >



 
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
Just a clarification nesredep egrob Windows XP Help 0 16th May 2007 03:48 AM
Little clarification PokerMan Microsoft C# .NET 2 9th Feb 2007 04:41 PM
clarification Michael Joe Microsoft Excel Programming 0 13th Aug 2004 09:18 PM
Clarification please... JMay Microsoft Excel Programming 9 24th Apr 2004 05:55 PM
Need clarification Manu K.U Microsoft Windows 2000 Terminal Server Clients 1 11th Aug 2003 08:46 PM


Features
 

Advertising
 

Newsgroups
 


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