Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default clarification

is there a command

Application.Run macro1 ,"yes"

"yes" is the answer to the inputbox question
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default clarification

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" wrote in message
...
is there a command

Application.Run macro1 ,"yes"

"yes" is the answer to the inputbox question



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default clarification

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"

wrote in message
...
is there a command

Application.Run macro1 ,"yes"

"yes" is the answer to the inputbox question



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default clarification

As written I doubt it would do anything except, perhaps raise an error.

--
Regards,
Tom Ogilvy

wrote in message
...
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"

wrote in message
...
is there a command

Application.Run macro1 ,"yes"

"yes" is the answer to the inputbox question



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clarification pmayne181 Excel Discussion (Misc queries) 1 December 2nd 08 12:56 PM
clarification Michael Joe Excel Programming 0 August 13th 04 09:18 PM
Excel Vba Clarification sarasa[_13_] Excel Programming 4 June 16th 04 01:27 AM
vba program clarification sarasa[_12_] Excel Programming 1 June 15th 04 03:05 AM
Clarification please... JMay Excel Programming 9 April 24th 04 05:55 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"