+ Reply to Thread
Results 1 to 6 of 6

Macro for creating the structure of a big matrix

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    Rovigo, Italy
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    3

    Exclamation Macro for creating the structure of a big matrix

    Hello everybody!

    I need to create a 520x520 matrix in which I need to put the rectangular distances of the several position in a storage, but I don't know how to build it. In the first row and column (which are the same) , I need to put in every cell the number of the corridor (from15 to 25), the number of the place (from 1 to 24) and the letter "a" or "b" because every place can contain two items.
    So it's a serie like that 151a;151b;152a,152b......2524b" (i want to put red the number of the corridor so that I can easily distinguish it)
    Can you please help me?

    I m desperate

    Meryv

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Macro for creating the structure of a big matrix

    see if this is what you want:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-12-2013
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    44

    Re: Macro for creating the structure of a big matrix

    Hi meryv
    Check if the sheet is ok, than the macro Attachment 268950
    Last edited by GAMU; 10-04-2013 at 10:47 AM.

  4. #4
    Registered User
    Join Date
    10-04-2013
    Location
    Rovigo, Italy
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    3

    Re: Macro for creating the structure of a big matrix

    it's perfect, thank you so much! I am a beginner but I would like to learn how to create macros in a quick and efficient way, I need it for my internship. do you have any tips?

    Thank you , you solved my day

  5. #5
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Macro for creating the structure of a big matrix

    Quote Originally Posted by meryv View Post
    I am a beginner but I would like to learn how to create macros in a quick and efficient way
    You can try looking into the sticky thread in this forum as a start. Alternatively, a good way to start learning how VBA works is by recording a macro yourself - which I actually just did, for the code to freeze panes, I don't use it commonly so did not memorize the syntax.

  6. #6
    Registered User
    Join Date
    09-12-2013
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    44

    Re: Macro for creating the structure of a big matrix

    With the help of millz
    see attachment: test2.xlsm

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automation Error: Invalid Oleverb Structure when Creating Chart
    By Sharanya in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-07-2013, 04:56 PM
  2. Creating A Org Structure
    By j4rowell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-05-2012, 02:34 PM
  3. I need help creating a 3x3 Matrix in vba?
    By mattm99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2011, 03:36 PM
  4. Replies: 1
    Last Post: 09-07-2010, 01:15 PM
  5. Matrix structure of data
    By Sandip in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-29-2006, 12:10 PM

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