String buidfrom=B159;
String buildto=B162;
String buildfrmno=buildfrom.Remove(0,1);
String buildtono=buildto.Remove(0,1);
Int bfrm=int.parse(buildfrmno.Text);
Int bto=int.parse(buidto.Text);
int diff=bto-bfrm;
string btwn="";
for(int i=1;i<=diff;i++)
{
btwn="B"+(bfrm+1)+",";
}
Total number of records=diff+2;
Btwn=B160,B161,