+ Reply to Thread
Results 1 to 3 of 3

Copy list and add spaces between lines on a new tab and add formula on inserted lines

  1. #1
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2010
    Posts
    110

    Copy list and add spaces between lines on a new tab and add formula on inserted lines

    Hi Experts,

    So basically, I have tab “ListofMaterials” and I write in 10 material numbers in there below the description row.

    What I want is a macro to take the material numbers from that list, put one in row 2, column A, then put an H in row 2, Column G, and then put 50 D’s in column G below that H.

    Then I want the second material number from that list, put that in row 53, column A, then put an H in row 53, Column G, then put 50 D’s in column G below that H.

    And so on and so forth for the rest of that list of materials.

    The number of materials on "ListofMaterials" will change each time I run the Macro.

    Does that make sense?

    I attached a copy of what this example would look like.

    Thanks again.
    Attached Files Attached Files

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Copy list and add spaces between lines on a new tab and add formula on inserted lines

    Hi theglitch...

    Will this work? I have set it to clear the "Formatted" sheet every time you run it, but you can always comment that out or delete the line:

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Copy list and add spaces between lines on a new tab and add formula on inserted lines

    Awesome. Thank you. It works perfectly.

+ 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. Copy individual lines from cell with broken lines by char(10)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2015, 05:40 AM
  2. [SOLVED] need to total several lines of info and have it inserted on one line
    By brlcarol99 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-11-2014, 02:37 PM
  3. macro to autofilter and copy first 15 lines visible lines in columns D:E
    By Juraj123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2013, 03:40 AM
  4. subtotaling groups of data broken apart my inserted lines
    By zed commander in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 06:14 AM
  5. Removing automatically inserted new lines
    By Choscura in forum Excel General
    Replies: 1
    Last Post: 10-14-2009, 04:12 AM
  6. Replies: 1
    Last Post: 03-11-2006, 06:10 PM
  7. [SOLVED] How can I get inserted lines to automatically appear in a linked .
    By Excel-erator in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-09-2006, 12:55 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