Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default excel.application.run macro1 -- added code to respond "yes" to a inputbox



message2
the input box comes up. i want to in vb code (outside
excel) run the macro and say yes to the input box ?
so no pop ups


message1
I have basic code running a macro in a excel sheet.
i want to set the input box automatically to yes.
Then finish running the macro...

Other idea is to:
there is a default of yes so I could do a msgbox type

of
thing with excel.Application.DisplayAlerts = False but
for a inputboxs.

Mike


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default excel.application.run macro1 -- added code to respond "yes" to a inputbox

Not possible if the situation is portrayed correctly. (a VBA generated input
box).


Perhaps you mean a warning dailog or prompt coming from Excel itself. In
xl2000 and later, you can suppress most of these with


oXLObj.Application.DisplayAlerts = False

--
Regards,
Tom Ogilvy



"Michael Joe" wrote in message
...


message2
the input box comes up. i want to in vb code (outside
excel) run the macro and say yes to the input box ?
so no pop ups


message1
I have basic code running a macro in a excel sheet.
i want to set the input box automatically to yes.
Then finish running the macro...

Other idea is to:
there is a default of yes so I could do a msgbox type

of
thing with excel.Application.DisplayAlerts = False but
for a inputboxs.

Mike




  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default excel.application.run macro1 -- added code to respond "yes" to a inputbox

let someone else respond that is why i did this again.

thanks
-----Original Message-----
Not possible if the situation is portrayed correctly. (a

VBA generated input
box).


Perhaps you mean a warning dailog or prompt coming

from Excel itself. In
xl2000 and later, you can suppress most of these with


oXLObj.Application.DisplayAlerts = False

--
Regards,
Tom Ogilvy



"Michael Joe"

wrote in message
...


message2
the input box comes up. i want to in vb code (outside
excel) run the macro and say yes to the input box ?
so no pop ups


message1
I have basic code running a macro in a excel sheet.
i want to set the input box automatically to yes.
Then finish running the macro...

Other idea is to:
there is a default of yes so I could do a msgbox

type
of
thing with excel.Application.DisplayAlerts = False

but
for a inputboxs.

Mike




.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default excel.application.run macro1 -- added code to respond "yes" to a inputbox

Hi
no need for reposting (just the opposite). Your other message would be
read by other people as well and if they think they could add something
to Tom's original response they would.

Frank
P.S.: Just as additional note: If Tom has no answer then there just
probably is no one :-)

--
Regards
Frank Kabel
Frankfurt, Germany

schrieb im Newsbeitrag
...
let someone else respond that is why i did this again.

thanks
-----Original Message-----
Not possible if the situation is portrayed correctly. (a

VBA generated input
box).


Perhaps you mean a warning dailog or prompt coming

from Excel itself. In
xl2000 and later, you can suppress most of these with


oXLObj.Application.DisplayAlerts = False

--
Regards,
Tom Ogilvy



"Michael Joe"

wrote in message
...


message2
the input box comes up. i want to in vb code (outside
excel) run the macro and say yes to the input box ?
so no pop ups


message1
I have basic code running a macro in a excel sheet.
i want to set the input box automatically to yes.
Then finish running the macro...

Other idea is to:
there is a default of yes so I could do a msgbox

type
of
thing with excel.Application.DisplayAlerts = False

but
for a inputboxs.

Mike



.


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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
NEW QUEST/REQ in "How to Reverse Contents ..." Pls Respond? TIA 3kings Excel Worksheet Functions 0 September 13th 07 05:14 PM
Compile Error in Excel 2004 when Inputbox contains "VBCRLF" QTP Professional Excel Discussion (Misc queries) 1 November 18th 05 11:47 PM
inputbox and application.run macro1 Michael Joe Excel Programming 3 August 13th 04 09:34 PM
Looking for VB code to test for "RING" , "BUSY" disconnects or other signals BruceJ[_2_] Excel Programming 3 November 20th 03 01:55 AM


All times are GMT +1. The time now is 09:10 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"