Thread: clarification
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
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