+ Reply to Thread
Results 1 to 2 of 2

Transferring part of a multi-dimensional array to a range in VBA

  1. #1
    Bob J.
    Guest

    Transferring part of a multi-dimensional array to a range in VBA

    I have a three-dimensional array (ex. TEST(1 To 2, 1 To 2, 1 To 360)) and I
    want to transfer two dimensions (keeping the third as a constant) back to a
    range. Is there any way to use the Value function to do this, instead of
    creating a new two-dimensional array?
    I tried: Sheets("FIRST").Range("FIRST").Value = TEST(1, 2, 360),
    but I got a repetition of that one particular value. I can do it by
    creating a new 2-D array, but this takes up a lot of code...Any help would be
    appreciated...

    Bob J.

  2. #2
    Tom Ogilvy
    Guest

    Re: Transferring part of a multi-dimensional array to a range in VBA

    There is no support for what you describe.

    --
    Regards,
    Tom Ogilvy

    "Bob J." <Bob J.@discussions.microsoft.com> wrote in message
    news:D2372126-E940-418E-BF6C-51BA188ACACE@microsoft.com...
    > I have a three-dimensional array (ex. TEST(1 To 2, 1 To 2, 1 To 360)) and

    I
    > want to transfer two dimensions (keeping the third as a constant) back to

    a
    > range. Is there any way to use the Value function to do this, instead of
    > creating a new two-dimensional array?
    > I tried: Sheets("FIRST").Range("FIRST").Value = TEST(1, 2, 360),
    > but I got a repetition of that one particular value. I can do it by
    > creating a new 2-D array, but this takes up a lot of code...Any help would

    be
    > appreciated...
    >
    > Bob J.




+ 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