As you are dealing with a string array, have you considered Join?
If Len(Join(FileNamesList)) > 0 Then
More Related Contents:
- How do I get values from a hidden worksheet using VBA [closed]
- How to copy cells that contain certain text to another worksheet [closed]
- VBA Macro for copying and pasting columns on same excel sheet
- Excel VBA, code to count the # of filled cells, then find highest and 2nd highest and subtract the corresponding column #’s [closed]
- Levenshtein Distance in VBA [closed]
- VBA Runtime Error 1004 “Application-defined or Object-defined error” when Selecting Range
- How do I base64 encode a string efficiently using Excel VBA?
- Assign event handlers to controls on user form created dynamically in VBA
- Programmatic Access To Visual Basic Project Is Not Trusted
- Can I make this macro more efficient or faster?
- Building Undo Into an Excel VBA Macro
- Excel vba add code to sheet module programmatically
- Best workaround for VBA Transpose array length limit?
- How to Lock the data in a cell in excel using vba
- How to use Events with Option Button Controls on Userform [duplicate]
- How do I use variables to set properties in VBA (Excel)
- VBA: Else without If Error
- Workbooks.Open Method in VBA
- Windows().Activate works on every computer except one
- How to highlight a cell using the hex color value within the cell?
- Convert RTF (Rich Text Format) code into plain text in Excel
- lastrow and excel table.
- Open a workbook from VBA and disable Workbook_Open() code?
- Creating form programmatically in the module using vba
- How to filter listbox values based on a Textbox value
- Find and FindNext for Excel VBA
- Run-time error ’91’ (Object variable or With block variable not set)
- How to have vba execute every 10 minutes?
- Read and write from/to registry in VBA
- Unable to read data from a CSV using ADO due to the driver thinking I am working with integers/number and showing nulls instead of text