PC Review


Reply
Thread Tools Rate Thread

Application.Run, doesn't return to calling procedure

 
 
Werner Rohrmoser
Guest
Posts: n/a
 
      31st Jul 2008
Hi,

after calling a procedure in another workbook with
Application.Run the program doesn't find back to
the calling procedure.

Are there common reasons for this behaviour?
Thank you

Regards
Werner

Excel XP SP3
Win XP SP3
 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      31st Jul 2008
Does the procedure called by Run execute properly? Is the procedure that
uses Run executed from a worksheet cell?


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



"Werner Rohrmoser" <werner-(E-Mail Removed)> wrote in message
news:908e65fa-e0da-4c52-82c0-(E-Mail Removed)...
> Hi,
>
> after calling a procedure in another workbook with
> Application.Run the program doesn't find back to
> the calling procedure.
>
> Are there common reasons for this behaviour?
> Thank you
>
> Regards
> Werner
>
> Excel XP SP3
> Win XP SP3


 
Reply With Quote
 
Werner Rohrmoser
Guest
Posts: n/a
 
      31st Jul 2008
Yes, the procedure executes and finishes properly.
It's started by an Command Button from the Forms Tool Bar, which is
located on a worksheet.

I fear I have to look deeper into my colleagues "spaghetti" program,
this was what I tried to prevent with my global question.

I tried some ideas, what might have caused the malfunction,
but only when I closed the workbook with the procedure I have called
by VBA than it doesn't come back.

Anyway thnaks for your reply.

Werner
 
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
Calling Stored Procedure and have it return records for a report eighthman11 Microsoft Access 4 18th May 2009 09:41 PM
help with calling a sub procedure, doesn't compile =?Utf-8?B?SmFuaXM=?= Microsoft Excel Programming 1 10th Aug 2007 11:42 PM
How to Return Control Immediately to Calling Application? =?Utf-8?B?UmV2b2VtYWc=?= Microsoft Dot NET 0 11th Apr 2007 10:46 PM
Problems calling a procedure in another application msk19 Microsoft Excel Programming 1 14th Sep 2004 12:49 PM
Return a value from stored procedure to calling application Paul Microsoft ASP .NET 1 19th Jan 2004 05:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:08 PM.