Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default running code only in selected module

Not sure how to go about asking this and my experience programming
excel is minimal but I would like to know how I can have code run only
in one specific module of a project.

I have a project with multiple modules, each doing different
procedures.
When I step through code, f8, it jumps from the current mod to others
and then back.

As an example I have a copy then paste special procedure but when it
gets to the line to PasteSpecial... it jumps to other modules then
back to current and performs the request.

Thanks for any help

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default running code only in selected module

sounds like there is a call procedure in the current module to a sub/function
stored in another module.

Without the module code it is difficult to catagorically state that this is
the case

HTH

"lawebster" wrote:

Not sure how to go about asking this and my experience programming
excel is minimal but I would like to know how I can have code run only
in one specific module of a project.

I have a project with multiple modules, each doing different
procedures.
When I step through code, f8, it jumps from the current mod to others
and then back.

As an example I have a copy then paste special procedure but when it
gets to the line to PasteSpecial... it jumps to other modules then
back to current and performs the request.

Thanks for any help


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
How can I update VBA code in a module that is running my VBA code? Gummy Excel Programming 3 June 12th 07 06:26 PM
Running Custom Code if "Entire Workbook" is Selected for Printing rfedge Excel Programming 1 September 10th 06 06:12 AM
code in module A to not execute a Worksheet_SelectionChange sub of another module Jack Sons Excel Discussion (Misc queries) 4 December 11th 05 11:52 PM
Running Standard Module Code from Dataform Jim May Excel Programming 1 September 29th 05 04:08 PM
Run worksheet module code from workbook module? keithb Excel Programming 1 August 14th 05 04:04 AM


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