ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to select a full column in excel using C# (https://www.excelbanter.com/excel-programming/396955-how-select-full-column-excel-using-c.html)

PRASHANT KUMAR

How to select a full column in excel using C#
 
i am using get_Range function. How to select a full column eg. column C..

Worksheet sheet = (Worksheet)book.ActiveSheet;
sheet.get_Range( "", "G" ).HorizontalAlignment = "-4152"; this statement
throw an exception.. can anybody help me...
--
prashant


All times are GMT +1. The time now is 05:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com