In the definition of the procedure, the ParamArray parameter is defined as an array of a type other than Variant. Redeclare the parameter type as an array of Variant elements.
Public Function CombineCheck(ParamArray Files() As Variant) Set FSO = CreateObject("Scripting.FileSystemObject") Set objOutput = FSO.CreateTextFile(FileNamePath & "combine.txt", True) Dim X As Integer ...
AlignmentHeaders ParamArray of string expressions, explicitly specifies the alignment for each column's header. AlignmentItems ParamArray of string expressions, explicitly specifies the alignment for ...