Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Add a new column to a worksheet

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 :)

  #2   Report Post  
Posted to microsoft.public.excel.programming
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 :)


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking up a variable in one worksheet and copying information from another column to another worksheet?? Brad Torken Excel Discussion (Misc queries) 2 December 10th 06 06:02 AM
Populating a column in a worksheet from another worksheet based on a common field [email protected] Excel Programming 1 August 1st 06 10:44 AM
Transfer entities from rows/column of one worksheet to another worksheet Thulasiram[_2_] Excel Programming 0 July 26th 06 11:30 PM
Fill a column in a worksheet from a formula worksheet based on the date NadiaR Excel Programming 4 March 15th 06 10:42 PM
Upload multiple text files into 1 excel worksheet + put the filename as the first column in the worksheet Aster Excel Worksheet Functions 3 March 12th 06 09:58 AM


All times are GMT +1. The time now is 10:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"