Hi
FieldStr1 will return an array of type variant (unless you have defined it otherwise), I guess you are wanting to build a string containing field names separated by commas. If you have your field names in a2:A21 you need to loop through these cells and build your string that way.
|