+ Reply to Thread
Results 1 to 2 of 2

Multidimensional array problem

Hybrid View

  1. #1
    Registered User
    Join Date
    04-22-2012
    Location
    Hungary
    MS-Off Ver
    Excel 2007
    Posts
    1

    Multidimensional array problem

    Hi All,

    I have the following problem: I made a form feed for my HR department colleagues. This excel contains a sheets which is a form for the new colleagues. When the HR colleague choose a postion and knock the button, the macro fill the form with data related to the chosen position.
    But there is a part which I couldn't achieve: there are Tasks, Subtasks, Sub-Subtasks in most of the positions and I'd like to list these strucuture in the form like this (see attached xls Template sheet):
    SubtaskX
    Sub-SubtaskZ
    description
    Sub-SubtaskU
    description
    description
    .....
    SubtaskY
    Sub-SubtaskP
    desc..

    I tried to use multidimensional array but it didn't work, I got error maybe I missed something.

    Can you please suggest?
    The most easy to understand is to see the attached excel file Template sheet!

    + question: I'd like to fill an array from a column but there are many redundant values. How can I make an array from the column with unique values? See sheet1!

    Thanks in advance!

    Best regards,
    Rumi
    Attached Files Attached Files

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,835

    Re: Multidimensional array problem

    Cross-posted at:
    http://www.tek-tips.com/viewthread.cfm?qid=1681228
    http://www.thecodecage.com/forumz/mi...y-problem.html
    http://www.vbaexpress.com/forum/showthread.php?t=41912

    Kindly read RULE 8. You agreed to it when you registered here:
    Don't cross-post without a link. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post. Expect cross-posts without a link to be closed.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ 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