+ Reply to Thread
Results 1 to 3 of 3

How to pass range of interest to UDF

  1. #1
    Forum Contributor
    Join Date
    02-09-2010
    Location
    Constanta
    MS-Off Ver
    Excel 2007
    Posts
    128

    How to pass range of interest to UDF

    I am advised that a UDF can be made more efficient by passing the "range of interest" to the UDF instead of making it volatile. Refer thread:

    http://www.excelforum.com/excel-prog...ml#post2319512

    However I do not know how to pass the range of interest to the UDF. Can someone please help?

    The UDF:


    Please Login or Register  to view this content.

    Many thanks in advance
    Asha
    Last edited by asha3010; 06-11-2010 at 10:09 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: How to pass range of interest to UDF

    You would add a further input variable to the UDF and then pass the additional variable to the UDF from the cell call.

    Please Login or Register  to view this content.
    called for ex. along lines of:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-09-2010
    Location
    Constanta
    MS-Off Ver
    Excel 2007
    Posts
    128

    Re: How to pass range of interest to UDF

    Many thanks DonkeyOte.

+ 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