Working with Cells
Display a string in a cell.
Get the current user's logon ID from Windows and display it in a cell.
For more information about Excel tasks and the Excel object model, see Excel Object Model Overview.
In some cases, the ways that you perform these tasks in application-level add-ins is different from the ways that you perform them in document-level customizations.