+ Reply to Thread
Results 1 to 1 of 1

Deleting elements of array

  1. #1
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Deleting elements of array

    Hi,

    There are a lot on the web to remove the elements of a single dimensional string array and I just want the experts to suggest me which one is the best as they might have tested while I didn't

    Here is my situation

    I have an array of file paths already and now I want to refine this array by deleting those elements which

    1: Are not like "Collect Data-*-YYYYMMDD-a serrial number.xlsm" (example "Collect Data-ImranBhatt-20190112-5.xlsm")
    2: Are not like "Send Emails-*-YYYYMMDD-a serrial number.xlsm" (example "Send Emails-ImranBhatt-20190230-795.xlsm")


    Thanks in advance

    Imran Bhatti


    Edit:Can we do it with out a loop?
    Last edited by ImranBhatti; 01-18-2019 at 04:14 AM.
    Teach me Excel VBA

+ 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. find array length got using split feature and valdate array elements
    By malathi1972 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-21-2018, 04:51 AM
  2. [SOLVED] Excel IsNumber Function treats array elements differently from range elements
    By Alan Beban in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-31-2018, 02:22 PM
  3. Comparing arrays and deleting elements
    By consumer48 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2015, 07:31 PM
  4. Array Storage Problem: Array Elements Deleted on 'End' Command
    By AidenS in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-15-2014, 10:38 AM
  5. [SOLVED] Removing specific elements from an Array based on matching elements in a different Array
    By jamesdeuce in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-24-2014, 10:35 PM
  6. help assigning elements of dictionary to array and then pasting array into worksheet
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-05-2013, 10:37 AM
  7. [SOLVED] Populate Listbox with all rows of a dynamic array where elements of a single array match.
    By Tayque_J_Holmes in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 08-07-2012, 04:54 AM

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