View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
PRASHANT KUMAR PRASHANT KUMAR is offline
external usenet poster
 
Posts: 1
Default 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