+ Reply to Thread
Results 1 to 3 of 3

Insert Column using VBA

  1. #1
    Registered User
    Join Date
    06-09-2016
    Location
    Delhi
    MS-Off Ver
    2013
    Posts
    2

    Talking Insert Column using VBA

    Hey

    I have to Code a program using VBA which take a value ( say x) from a cell in Sheet1, B2. What I want to do is Insert New Columns in sheet2 based on the value entered in Sheet1, viz x . The no of the columns to be inserted have to be x * 2 + x after column D in Sheet2. Also these Columns needs to have a header Inverter1 Ac, Inverter1 DC, Inverter2 AC, Inverter2 DC and so on (x*2) times. Also the Later headers have to be Inverter1 Voltage, Inverter2 Voltage for (x) no of remaining columns.

    I would really appreciate if anyone could help me with this project as I'm unable to progess without this.

    Thanks a lot. Cheers

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Insert Column using VBA

    Excel file with sheet before and sheet after is a good start

    Kind regards
    Leo

  3. #3
    Registered User
    Join Date
    06-09-2016
    Location
    Delhi
    MS-Off Ver
    2013
    Posts
    2

    Re: Insert Column using VBA

    Meaning? I didn't get you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro for extracting data from a long column and insert it in its own column with a header
    By ChemistryStudent in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-07-2014, 04:41 AM
  2. [SOLVED] Macro to Insert column and include a VLOOKUP array for entire column
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2014, 06:28 PM
  3. Find most recent date in Column Headings in a Range, insert new column and heading
    By mikey3580 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2014, 08:28 AM
  4. [SOLVED] Insert Row & Insert Column Macros
    By amfrancis in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-19-2014, 01:07 PM
  5. Insert column and fill column upto where data is in previous column
    By aka189 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-24-2012, 06:07 AM
  6. [SOLVED] Compare 4 column values then insert a 5th columns value to a blank column/cell value
    By JasonKMcCoy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-27-2012, 06:01 PM
  7. Insert Column then insert designated number
    By houseguy007 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-18-2010, 08:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1