How can I add a new field in a raster attribute table and loop through it?

Discussion created by demdemeleeds on Nov 20, 2011
I work with an existing raster attribute table and I wonder how can I add a new field to it and then loop through the exsiting records to populate this new field. Of course I have done this many times for a feature class and a database table but I do not know how to do it with a raster table. I also note that I work with VBA. Any code please?