+ Reply to Thread
Results 1 to 3 of 3

Passing UDTs to subs

  1. #1
    Registered User
    Join Date
    05-15-2006
    Posts
    16

    Passing UDTs to subs

    Hi,

    Hopefully this will be simple. I have created a few User Defined Types in a Main subroutine, but when I pass them into another sub the intelisense for the elements doesn't come up. I can type in the elements manually - and it all seems to work okay - but with a lot of types and elements I really want it to save me the effort.

    Cheers in advance,
    Peter.
    Last edited by PeterWilliams; 01-27-2009 at 04:46 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: Passing UDTs to subs

    It may help if you posted you code or at least a sample to demonstrate the problem.

    Have you tried compiling the project to make sure there are no compiler errors in your code?
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    05-15-2006
    Posts
    16

    Re: Passing UDTs to subs

    Hey Andy,

    As you suggested I compiled the code and now it is miraculously working! Not sure why, but for a noob as myself it'll do.

    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1