+ Reply to Thread
Results 1 to 5 of 5

Array as output of function

  1. #1
    Registered User
    Join Date
    07-04-2005
    Posts
    9

    Array as output of function

    Hi, I wrote a VBA function which has an intput a column of length n. I do some calculations in my function and the output shoud be also o column of length n. Just that it did not function, even if I select the right area and click ctrl+shift+enter. It only registers the result of the first calculation n times.
    How can I fix it?
    Tks, Maca.

  2. #2
    Bob Phillips
    Guest

    Re: Array as output of function

    Show it and we can take a look.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "maca" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hi, I wrote a VBA function which has an intput a column of length n. I
    > do some calculations in my function and the output shoud be also o
    > column of length n. Just that it did not function, even if I select the
    > right area and click ctrl+shift+enter. It only registers the result of
    > the first calculation n times.
    > How can I fix it?
    > Tks, Maca.
    >
    >
    > --
    > maca
    > ------------------------------------------------------------------------
    > maca's Profile:

    http://www.excelforum.com/member.php...o&userid=24892
    > View this thread: http://www.excelforum.com/showthread...hreadid=387105
    >




  3. #3
    Alan Beban
    Guest

    Re: Array as output of function

    If you select a column for the output, select a row instead; and vice
    versa. If that doesn't fix it, then as Bob Phillips suggested, post the
    code.

    Alan Beban

    maca wrote:
    > Hi, I wrote a VBA function which has an intput a column of length n. I
    > do some calculations in my function and the output shoud be also o
    > column of length n. Just that it did not function, even if I select the
    > right area and click ctrl+shift+enter. It only registers the result of
    > the first calculation n times.
    > How can I fix it?
    > Tks, Maca.
    >
    >


  4. #4
    Registered User
    Join Date
    07-04-2005
    Posts
    9
    Hi Alan,

    Tks a lot. It was the application.transpose that helped after reading your comment.

    Cheers,
    Maca.

  5. #5
    Alan Beban
    Guest

    Re: Array as output of function

    maca wrote:
    > Hi Alan,
    >
    > Tks a lot. It was the application.transpose that helped after reading
    > your comment.
    >
    > Cheers,
    > Maca.
    >
    >

    Thanks for the feedback.

    Alan Beban

+ 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