View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 6,953
Default Add a new column to a worksheet

Columns(3).Insert

should insert a new column 3 and the old column 3 is shifted to the right.

--
Regards,
Tom Ogilvy


"Yoda" wrote:

Hello all,

I'm trying to make an application that needs to create new columns as
the user inputs the data. The problem appears when the user wants to
create a new column between two previously created. The data should
move to the right (as happens when you push "create a complete column"
in the popup menu of the grid. I don't know if there is a way to add a
new column this way without having to move the data by hand (and so,
having to change the formulas by hand). Could you help me, please?

Thank you all :)