Anderson served in the campaigns on the continent of Europe under Prince Frederick, Duke of York and Albany in 1793–4, and was present at the Battle of Famars 23 May 1793, the Siege of Valenciennes (1793) in June and July, the Siege of Dunkirk (1793) in August and September, and the battle of Battle of Hondschoote 8 September. He was then transferred, at his own request, to the Royal Engineers on 1 January 1794. He took part in the Siege of Landrecies (1794), Battle of Tournay (1794), and siege of Nijmegen in November.