Fixed bug in formattedworkbook
Bugfix: global variable @sheet now local - preserves memory as big as 1 sheet