Application.Run, doesn't return to calling procedure

W

Werner Rohrmoser

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
 
C

Chip Pearson

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)
 
W

Werner Rohrmoser

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top