var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Windows user id through Excel VBA
How can I retrieve the user's network ID using VBA in Excel?
There are a number of great examples in the Access Code Bank which can be applied in Excel too.
Here's the first example I stumbled across: http://www.dbforums.com/showpost.php...0&postcount=20
But have a look at the other examples - don;t just jump on the first one you find