+ Reply to Thread
Results 1 to 8 of 8

Automatically adding rows

  1. #1
    Registered User
    Join Date
    10-14-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    5

    Automatically adding rows

    Hi there guys!
    First of all, very happy to find a forum like this, since i'm just starting to get into the "fancy" excel functionalities .

    An here i am, asking for some help :D

    I am currently trying to create a excel workbook, that counts hours worked by employees, that part is solved. Now the other thing is, i wanted to ask, whether it is possible to create a function in excel, that would create a set of rows and columns for each row in the other spreadsheet?

    That should look something like this:

    A manager has a spreadsheet that contains the info of the employees in the company:
    Screenshot 2021-10-14 at 20.06.09.png

    Then there could be a button or some kind of an indicator to proceed with the creation. and for each employee, rows and columns like these would be created in the next sheet:

    Screenshot 2021-10-14 at 20.06.41.png

    I hope my question is understandable, and mostly, solvable.

    Thank you guys!

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,220

    Re: Automatically adding rows

    Assumptions:
    1. The employee data in the worksheet named "Employee data" begins with cell A1.
    2. The data to be copied is contained in the "Template sheet" from cell A1. The first row contains the dates in the I:O columns. The table to be copied is the range A2:R8 (the last row is blank).
    3. Data is copied to a new sheet in the same workbook.
    Please Login or Register  to view this content.
    Artik

  3. #3
    Registered User
    Join Date
    10-14-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    5

    Re: Automatically adding rows

    Hi, Artik!
    Seems to be doing what i need, the problem is, that it only creates the template for the first employee.
    Any ideas why is this happening?
    Thanks!

  4. #4
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,220

    Re: Automatically adding rows

    It would be a good idea to include a workbook that shows the layout of the data in your worksheets.

    Artik

  5. #5
    Registered User
    Join Date
    10-14-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    5

    Re: Automatically adding rows

    Attaching the XLSM file:
    It seems that now it is creeating the templates, but inserts the name only in the first one
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,220

    Re: Automatically adding rows

    It should be better now:
    Please Login or Register  to view this content.
    Artik
    Last edited by Artik; 10-14-2021 at 10:29 PM.

  7. #7
    Registered User
    Join Date
    10-14-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    5

    Re: Automatically adding rows

    Artik,
    Thank you very very much!
    Do you know by any chance if it is possible to create a "button" in excel, that would execute the macro?
    Thanks!

  8. #8
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,220

    Re: Automatically adding rows

    It is possible, but not in this thread, as the issue differs significantly from the main problem.

    Artik

+ 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] Automatically Adding Rows
    By jatolo in forum Excel General
    Replies: 4
    Last Post: 04-06-2014, 02:09 PM
  2. Automatically Adding New Rows and Extending the Formula
    By judell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2014, 12:22 PM
  3. Replies: 1
    Last Post: 07-11-2013, 05:12 AM
  4. Can't automatically add checkboxes when adding rows
    By bcurry3 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-04-2011, 03:31 PM
  5. Adding rows Automatically in Excell
    By TranceCo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-18-2009, 02:27 PM
  6. adding rows automatically
    By saintr in forum Excel General
    Replies: 2
    Last Post: 05-12-2007, 09:30 PM
  7. [SOLVED] Automatically adding new rows with formula
    By Brian in forum Excel General
    Replies: 2
    Last Post: 01-16-2005, 11:06 PM

Tags for this Thread

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