Does anyone know how to create a strongly typed byref optional array to a sub/function in VB? I have sub I'm working on where the last three parameters are optional. The last two happen to be arrays (one should be boolean and the other string).

If I was to require the parameters, then I'd simply call it like so:
ByRef ColumnHeaders As String, ByRef VisibleCols() As Boolean, ByRef ColumnFormats() As String

But I want them to be optional.

But when I add Optional to the array parameters, I get a syntax error saying that they should be variant or some specific type with a default value.

Tg