Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 413
Default Code execution skips Application.Run statement

In the following code sequence:

Set wkbk = ActiveWorkbook
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
Call InsertVlnCollectionFormulae(wkbk)
Call TransferToSummarySheet(wkbk)
Application.Run _
"BofQUtilities.xla!InDirect_Menu_Routines.VlnSearc hAndProtect"
Application.Calculation = xlCalculationAutomatic

the Application.Run statement is not executing. When I set
breakpoints, the code stepped straight through the line.

Can anyone help, please?

Regards.




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 05/03/2004


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Code execution skips Application.Run statement

I'm assuming that InDirect_Menu_Routines is your module name. In that
case, try:

Application.Run "BofQUtilities.xla!VlnSearchAndProtect"

In article ,
"Stuart" wrote:

In the following code sequence:

Set wkbk = ActiveWorkbook
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
Call InsertVlnCollectionFormulae(wkbk)
Call TransferToSummarySheet(wkbk)
Application.Run _
"BofQUtilities.xla!InDirect_Menu_Routines.VlnSearc hAndProtect"
Application.Calculation = xlCalculationAutomatic

the Application.Run statement is not executing. When I set
breakpoints, the code stepped straight through the line.

Can anyone help, please?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 413
Default Code execution skips Application.Run statement

Yes, it was the module name.
I had thought that sequence of code was working ok.
Perhaps it was not.
Irrespective of that, your suggestion appears to be working.
I will test further.

Why might this work rather than a full "path" to the routine,
please?

Regards and thanks.
"JE McGimpsey" wrote in message
...
I'm assuming that InDirect_Menu_Routines is your module name. In that
case, try:

Application.Run "BofQUtilities.xla!VlnSearchAndProtect"

In article ,
"Stuart" wrote:

In the following code sequence:

Set wkbk = ActiveWorkbook
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
Call InsertVlnCollectionFormulae(wkbk)
Call TransferToSummarySheet(wkbk)
Application.Run _
"BofQUtilities.xla!InDirect_Menu_Routines.VlnSearc hAndProtect"
Application.Calculation = xlCalculationAutomatic

the Application.Run statement is not executing. When I set
breakpoints, the code stepped straight through the line.

Can anyone help, please?



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 05/03/2004


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
Code execution has been interrupted LAF Excel Discussion (Misc queries) 2 February 21st 08 03:03 PM
Help - VBA Code execution in Excel Luis[_2_] New Users to Excel 2 September 10th 07 03:14 AM
Code Execution has been interupted Rich Excel Discussion (Misc queries) 2 May 10th 05 12:52 PM
code execution has been interrupted François Excel Discussion (Misc queries) 1 February 18th 05 11:06 PM
VBA: Pausing Code Execution Michael Loganov Excel Programming 2 September 14th 03 10:53 AM


All times are GMT +1. The time now is 06:01 AM.

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

About Us

"It's about Microsoft Excel"