PC Review


Reply
Thread Tools Rate Thread

Calling a Sub created on the fly

 
 
NoSpam@aol.com
Guest
Posts: n/a
 
      23rd Nov 2011
I can write code to add a code module to a project and place desired code
into that module. However, I cannot call a sub in that module - it fails
at compile time because, at that time, it is undefined.

How can I accomplish this?

I'm sure this question has been answered many times, but I haven't found a
solution. Many thanks for your help.
 
Reply With Quote
 
 
 
 
NoSpam@aol.com
Guest
Posts: n/a
 
      24th Nov 2011
Application.run "SubName"[,parameters]

On Wed, 23 Nov 2011 09:22:56 -0500, (E-Mail Removed) wrote:

>I can write code to add a code module to a project and place desired code
>into that module. However, I cannot call a sub in that module - it fails
>at compile time because, at that time, it is undefined.
>
>How can I accomplish this?
>
>I'm sure this question has been answered many times, but I haven't found a
>solution. Many thanks for your help.


 
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



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:25 PM.