' Returns a collection holding all the filenames that' match a given filespec and search attributes.Function GetFiles(filespec As String, Optional Attributes As VbFileAttribute) _ As Collection Dim filename As String Set GetFiles = New Collection ' start the search filename = Dir$(filespec, Attributes) Do While Len(filename) ' we've found a new file GetFiles.Add filename, filename ' get ready for the next iteration filename = Dir$ LoopEnd Function



Top 5 B2B SaaS Marketing Agencies for 2023
In recent years, the software-as-a-service (SaaS) sector has experienced exponential growth as more and more companies choose cloud-based solutions. Any SaaS company hoping to stay ahead of the curve in this quickly changing industry needs to invest in effective marketing. So selecting the best marketing agency can mean the difference