+ Reply to Thread
Results 1 to 4 of 4

VBA Functions returning Arrays

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    Mauitius
    MS-Off Ver
    Excel 2010
    Posts
    8

    Post VBA Functions returning Arrays

    Hi,

    Actually im having problem with the following code, im returning an array using a function but only one value is displayed. Pleas Help


    Please Login or Register  to view this content.
    Last edited by Leith Ross; 07-30-2013 at 06:04 PM. Reason: Added Code Tags

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: VBA Functions returning Arrays

    Welcome to the forum!

    Either make it into an array, not a vector or use Transform. Also, when used a UDF, you need to select 3 vertical column cells, F2 to edit, =retcol(), and Ctrl+Shift+Enter.
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-12-2013
    Location
    Mauitius
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: VBA Functions returning Arrays

    Thanks..it Worked out..

    Thanks a lot

  4. #4
    Registered User
    Join Date
    06-12-2013
    Location
    Mauitius
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: VBA Functions returning Arrays

    However i have another question. If i dont know the size for the Array as above, how am i going to put it?


    Please Login or Register  to view this content.

    i have the codes above, now if i dont know the size of the range and how will i pass one by one in the before last line.
    Last edited by Leith Ross; 07-30-2013 at 06:04 PM. Reason: Added Code Tags

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Returning arrays from arrays....
    By Magsy in forum Excel General
    Replies: 2
    Last Post: 12-13-2011, 09:09 AM
  2. Function returning arrays
    By axecel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-02-2010, 01:16 AM
  3. Returning arrays from custom worksheet functions in xll files
    By JacksonRJones in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-22-2006, 01:50 PM
  4. [SOLVED] Can't figure out passing and returning arrays
    By Dave B in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2005, 08:45 PM
  5. [SOLVED] RTD returning arrays
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2005, 07:06 PM

Tags for this Thread

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