The pronoun them clearly refers to the noun disks. Disks is the antecedent for the pronoun them. Unfortunately, it is very easy to create a sentence that uses a pronoun WITHOUT a clear, unmistakable noun antecedent. Look at this example: The pronoun it does not have a clear noun antecedent. As a result, the reader cannot know for sure whether Kara sold the disk or the cabinet. The pronoun reference is faulty here because the pronoun it has two antecedents. Such errors, called FAULTY or VAGUE PRONOUN REFERENCE, can confuse readers and obscure the intended meaning.
How to extract file name from FullPath string using VBA. Extract Name of the File from Path / Fullname using VBA. There are many methods to extract the filename from a given string. You can use FileSystemObject's function GetFileName or can use Arrays to get the last element of the array split by path separator. Here we use even simpler functions like Dir and InStrRev to achieve the same.
Thread: Adding data from one Array into another in Excel VBA. Adding data from one Array into another in Excel VBA Hello, I have a loop that fills in Array1() every cycle with 124 items. I would like to copy/add Array1() each cycle into Array2().