+ Reply to Thread
Results 1 to 6 of 6

How to generate arrays name using concat or similar functions

  1. #1
    Registered User
    Join Date
    05-16-2013
    Location
    baguio
    MS-Off Ver
    Excel 2003
    Posts
    1

    How to generate arrays name using concat or similar functions

    Hi,
    I have 15 numerical arrays , P1(), P2(),..., P15().

    I want to loop through the arrays using For-Next loop to check for a specific number (for example 3). I used below code to loop through the arrays instead of typing the names of the array one by one , but it does not work.


    Please Login or Register  to view this content.
    I would appreciate if someone could help.
    Last edited by nima50; 11-10-2021 at 07:11 AM.

  2. #2
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: How to generate arrays name using concat or similar functions

    impossible
    make an mulitdimensional array of for example 15*100
    Please Login or Register  to view this content.
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How to generate arrays name using concat or similar functions

    Administrative Note:

    Hello nima50.

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

    Since you are new to the forum I will do it for you this time.
    Dave

  4. #4
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: How to generate arrays name using concat or similar functions

    How do I delete my message?
    Last edited by DJunqueira; 11-10-2021 at 07:06 AM.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,444

    Re: How to generate arrays name using concat or similar functions

    @DJunqueira: you can't delete your message and the Moderators are unlikely to.

    Best bet is to add a comment explaining what you thought and why you have deleted the content of your post.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: How to generate arrays name using concat or similar functions

    Quote Originally Posted by TMS View Post
    @DJunqueira: you can't delete your message and the Moderators are unlikely to.
    Best bet is to add a comment explaining what you thought and why you have deleted the content of your post.
    Tks TMS.

+ 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. [SOLVED] extract last 3 numbers from each concat. value in col. B and add to col. A concat cells
    By therealdees in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-17-2021, 11:02 AM
  2. [SOLVED] lookup one column and merge similar cell into one (concat and line break)
    By mq1973 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-24-2020, 11:29 AM
  3. Multiple formula help to generate discrete arrays from data set
    By Seang17 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-02-2015, 04:09 AM
  4. Looping through similar declerations but cannot use Arrays.
    By ARowbot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2015, 10:25 AM
  5. [SOLVED] Generate unique id for similar amounts
    By tanmanoj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-27-2013, 07:19 PM
  6. VBA help with Match & Concat using Arrays....
    By sgtgooba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2013, 12:19 PM
  7. excel functions similar/the same as VBA functions
    By FRIEL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2008, 05:39 AM

Tags for this Thread

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