+ Reply to Thread
Results 1 to 3 of 3

I have a number in a cell and i wantn to insert that amount of rows on sheets from A:H

  1. #1
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    I have a number in a cell and i wantn to insert that amount of rows on sheets from A:H

    Hi



    Please Login or Register  to view this content.
    In cell I1 I have a value, lets say 7 right

    So I want to use that to insert (from colum A to H) 7 rows!

    Im fiddiling with the codes above but can't quite seem to come to a solution


    From column

  2. #2
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    Re: I have a number in a cell and i wantn to insert that amount of rows on sheets from A:H

    I figured this out


    '
    Please Login or Register  to view this content.
    my brain hurts-

    marking solved

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: I have a number in a cell and i wantn to insert that amount of rows on sheets from A:H

    Your request is confusing?

    Your title asks for both rows AND columns
    insert that amount of rows on sheets from A:H
    Your question asks for columns AND rows...
    I want to use that to insert (from colum A to H) 7 rows!
    Your macro is working on rows
    ).EntireRow.Insert
    Which 1 is it?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. [SOLVED] How to insert number of rows based on value of a Cell
    By sathyasun in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2013, 12:47 AM
  2. [SOLVED] Insert number of rows with data to new sheets based on values in cells
    By keithtran12 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-28-2013, 11:57 AM
  3. [SOLVED] insert rows based on number in cell and copy the data down into the new rows
    By pziefle in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-05-2013, 11:19 AM
  4. [SOLVED] Insert Multiple Rows Based Off Number in Cell and Copy Data From Above New Rows
    By tstell1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2012, 04:15 PM
  5. [SOLVED] insert an x number of rows according to data in a cell
    By hoimae in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-24-2012, 05:29 AM
  6. Insert a number of rows based on the value in a cell
    By garridosk in forum Word Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2011, 04:41 PM
  7. [SOLVED] Insert cell data every given amount of rows
    By Mike Mike in forum Excel General
    Replies: 3
    Last Post: 11-04-2005, 01:45 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