You have the first problems (use of set) because usually set is used with object, range, worksheet, workbook, etc.
Problem
Call addFlexibleAxisItem(csvTab, faAxis, faItem, faAction)
I think you have this problem because the Sub:
Sub addFlexibleAxisItem(csvTab As String, Axis As String, Item As String, Action As String)
wants four string variables
while you declared:
Dim faItem, faAxis, faAction As String
that it's not the same then write:
Dim faItem As String
Dim faAxis As String
Dim faAction As String
In your declaration VB assumes 'faItem' and 'faAxis' as variant (because you don't specify the cariable type) and only 'faAction' as String.
Regards,
Antonio
Bookmarks