Smoking, Health and Social Care (Scotland) Act 2005 received Royal Assent on 5th August 2005
This, of course, is a Scottish Act. It does not affect other parts of Great Britain.
Subject to a few exceptions to be designated in regulations, the Act bans ban smoking in all enclosed public places. It was brought into effect at 6am on 26th March 2006. As from that date it has been illegal in Scotland to smoke in restaurants, bars, cafes, hotels, theatres, bingo halls, church halls, sports centres, shopping centres, public transport, schools, hospitals, clubs, and workplaces, including lorries and vans.
There are full explanatory notes to the Smoking, Health and Social Care (Scotland) Act 2005 on the government legislation website.
For relevant general notes go to Smoking at work