Results 1 to 6 of 6

Thread: Multidimensional array problem

  1. #1

    Multidimensional array problem



    Register for a FREE account, and/
    or Log in to avoid these ads!

    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
    Hey, this guy posts everywhere, CodeCage, VBAX, ExcelForum - he is prolific.

  3. #3
    Quote Originally Posted by Bob Phillips View Post
    Hey, this guy posts everywhere, CodeCage, VBAX, ExcelForum - he is prolific.
    Hi Bob,

    I feel sorry, I didn't want to flood!
    I just wanted to reach as many vba professionals as can.

    Sorry again, I hope its'not problem.

    Rumi

  4. #4
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,250
    Articles
    57
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    Hi Rumi,

    Have a read of this article please
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training) or with my book M is for Data Monkey!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  5. #5
    Hi Ken,

    I read, sorry for the cross-posting!
    I really didn't know, that these excel forums are the same.


    Does that mean that I can't rely any answer to my question?

    Sorry again!

    Best regards,
    Rumi

  6. #6
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,250
    Articles
    57
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    Hi Rumi,

    They're not the same, exactly. They are all owned by different people, but many of the same experts transverse across all forums. And one thing that is consistent is that by far the vast majority of people on every forum are volunteers.

    Poeple will still help out, but can you provide links to some of the other forum posts? We'd rather all comment in one place.
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training) or with my book M is for Data Monkey!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •