|
-
May 1st, 2009, 11:15 PM
#5
Re: Passing control name to sub
I can't tell what the problem may be from the little piece of code you posted. I assume that the latter part is a sub but I see no call to it, nor do I know what parameter may be passed to it as the CTRL and can not tell if there may be another line in that same sub that cancels out the color change.
You should be able to pass a control to a sub and work with it there even if the sub is in a different module but you have not provided enough info to point to the error.
Next time use [ code ] [ /code ] {without the spaces} tags around your code and indent it for readability
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|