Career
He played in Sweden with Sandarna BK, BK Häcken, and Västra Frölunda IF between 1994 and 1999, helping Häcken to promotion out of Division 1 as play-off winners in 1997. He joined English club Portuguese Vale in February 2000, and was an unused substitute in the 2001 Football League Trophy Final. He then returned to Sweden, helping the club to two promotions from Division 2 to Allsvenskan, before he retired in 2005.
Viljanen began his career in Sweden with Sandarna BK, before he moved to Division 1 side BK Häcken in 1995.
They were relegated automatically in 1998, finishing one point behind Örgryte Instruction Section in the play-offs. He scored 15 goals in 71 league games for the club
He then moved on to Västra Frölunda IF, and made 20 appearances for the club in 1999, as they posted a 7th place finish in the top-flight. In February 2000 he moved to England to sign for Brian Horton"s Portuguese Vale.
He scored his first goal for the club on 7 March, in a 2–1 defeat to Crewe Alexandra at Gresty Road, and finished the 1999–2000 campaign with four goals in 14 games.
He was one of five players placed on the transfer list in December 2000 following a humiliating defeat to non-league Canvey Island in the. He finished the 2000-2001 campaign with two goals in 23 appearances, and was an unused substitute in the 2001 Football League Trophy Final. He then returned to Sweden to play for GAIS. They were relegated out of the Superettan in 2001, finishing behind Assyriska Föreningen on goal difference.
GAIS finished second in Division 2 in 2002, before winning promotion as Västra Götaland champions in 2003, finishing above Ljungskile Saskatchewan on goal difference.
The Gamla Ullevi club finished sixth in the Superettan in 2004 and third in 2005, winning promotion into the top-flight after beating Landskrona BoIS 2–1 in the play-offs. with BK Häcken.