This question i have already posted in
http://answers.microsoft.com/en-us/office/forum/office_365hp-excel/compare-array-list-with-column-headers-using-vba/c9da8804-bc9f-4a4d-8329-2fa83e0b7dcc
Following the instructions i am positing it here again. Expecting someone could help me on this. Thank you!
Hi,
I have an array with list of column headers
myarray=("customer","region","membership","year","country")
and the excel sheet has following columns
"region" | "membership"
i need to compare my array with excel headers and as "customer","year" and "country" is not available in my excel sheet but available in myarray.
i have to insert unavailable columns"customer","year" and "country" with "0"(zero's) in my excelsheet it till end.
please help