ukdane
01-12-2009, 07:38 AM
In Excel 2003,
On the options box (under the Tools Menu), under General tab, there is a User Name field.
Is it possible to refer to the username, in VBA?
How do I assign it to a variable in VBA?
Dim myusername as string
myusername = 'the result in the optionsbox under the general tab
Cheers
On the options box (under the Tools Menu), under General tab, there is a User Name field.
Is it possible to refer to the username, in VBA?
How do I assign it to a variable in VBA?
Dim myusername as string
myusername = 'the result in the optionsbox under the general tab
Cheers