用全局变量。
vars("username") = _USERNAME
然后在excel里写 [!username]
http://www.foxtable.com/help/topics/1391.htm