+ Reply to Thread
Results 1 to 2 of 2

Dynamic Array with Text to Columns

  1. #1
    Registered User
    Join Date
    12-16-2003
    Posts
    5

    Dynamic Array with Text to Columns

    Whats the best way to go about this:
    Suppose i have 15 columns filled with data. Some of the columns contain data which can be delimited into additional columns.

    I have the original 15 columns in a 2D array called myData (where values can be retrieved by using myData(r,c))

    For the delimited data, i want to dynamically create additional arrays, but not sure how to create such a thing on the fly.

    Should it be done like that, or by using class objects?

    Where should i start? Should i use excel's built in function or VB's split? Any code out there like this?
    Last edited by sp00nix; 03-26-2006 at 07:56 PM.

  2. #2
    Tom Ogilvy
    Guest

    Re: Dynamic Array with Text to Columns

    Why not just pick up all the columns in the 2D array. Seems like it would
    make more sense than tacking it on as additional rows at the bottom.

    --
    Regards,
    Tom Ogilvy

    "sp00nix" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Whats the best way to go about this:
    > Suppose i have 15 columns filled with data. Some of the columns contain
    > data which can be delimited into additional columns.
    >
    > I have the original 15 columns in a 2D array called myData (-where
    > values can be retrieved by using myData(r,c)-)
    >
    > I want to be able to include the delimited data at the end of the
    > array.
    >
    > Where should i start? Should i use excel's built in function or VB's
    > split? Any code out there like this?
    >
    >
    > --
    > sp00nix
    > ------------------------------------------------------------------------
    > sp00nix's Profile:

    http://www.excelforum.com/member.php...fo&userid=3934
    > View this thread: http://www.excelforum.com/showthread...hreadid=526596
    >




+ 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