+ Reply to Thread
Results 1 to 3 of 3

Function Calling

  1. #1
    Registered User
    Join Date
    09-17-2009
    Location
    Galati, Romania
    MS-Off Ver
    Excel 2003
    Posts
    32

    Function Calling

    Hi,
    I created a function that fills a combobox with certain information.
    The funcion is like this :
    HTML Code: 
    My function is working well.I just don't understand something.
    When i call it like addCombAdm Combobox1 it works but when i call it like
    addCombAdm(ComboBox1) i get the 424 error. What is the difference?

    Thanks!

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

    Re: Function Calling

    The use of the brackets will coerc the use of the default property to be passed rather than the object

    Functions can return values and are more commonly used like this,
    Please Login or Register  to view this content.
    Last edited by Andy Pope; 10-16-2009 at 03:54 AM.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-17-2009
    Location
    Galati, Romania
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Function Calling

    thank you!

+ 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