I want to exclude some columns from the report which i am generating
using excel vba ...
The first row of excel sheet has all the column names..
Iam writing a code something like
Arrcols=("col1","col2","col5")
If cells(1,k).value =arrcols(i)
code...
End if
I want that if the col name is between the arrcols range then it
should be excluded form the further line of codes..
however its giving syntax error