View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bob Sullentrup Bob Sullentrup is offline
external usenet poster
 
Posts: 25
Default VSTO column insert shift to right

Folks,

What's the syntax for inserting a column and shifting cells to the right?

This is close but no cigar:

((Excel.Range)rng.Cells[1,c]).EntireColumn.Insert(Shift.xlRight,Type.Missing);

the Shift.xlRight is incorrect.

--
Bob Sullentrup