Working with Cells

The NamedRange class and the native Excel Microsoft.Office.Interop.Excel.Range class contain the methods and properties you use to perform tasks with cells.



Display a string in a cell.

How to: Display a String in a Worksheet Cell

Get the current user's logon ID from Windows and display it in a cell.

How to: Display the Current User's Logon ID 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.

Community Additions