In 1838, he was promoted Major and ten years later he was appointed Lieutenant-Colonel commanding the Montreal Rifles.
He was appointed Lieutenant-Colonel of foot in the Earl of Northampton's Regiment on 16 November 1641.
He was appointed Lieutenant-Colonel of the 105th Foot (former "Volunteers of Ireland") in March 1782, but placed on half-pay after the peace.
In 1908 he was appointed Lieutenant-Colonel in the Post Office Rifles.
That year he was also appointed Lieutenant-Colonel commanding the Queen's Westminster Volunteers, holding the post for twenty years until 1904.
In 2003, he was appointed Honorary Lieutenant-Colonel of The Queen's York Rangers.
Anderson was appointed Lieutenant-Colonel commanding the 1st Melbourne Rifles.
He was also appointed Lieutenant-Colonel of the 106th Regiment M.L.I. on April 1, 1912.
In 1797, he was appointed Lieutenant-Colonel of the 2nd West India Regiment.
He was appointed Lieutenant-Colonel of the 39th Norfolk Battalion of Infantry on September 28, 1866.